Scale bar for 2D axes

Creates a scale bar in a 2D axes. The length, location and colour of the scale bar are customisable.

Download
Download

You are now following this Submission

Cite As

Amanda (2026). Scale bar for 2D axes (https://au.mathworks.com/matlabcentral/fileexchange/25799-scale-bar-for-2d-axes), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0

Fixed bug where bold font and linewidth were not updating on zoom/pan.
Added unit string option.

Download
1.0.0

Download