scalebar for maps

A simpler alternative to the built-in Mapping Toolbox function scaleruler.

You are now following this Submission

The scaleruler function in the Mapping Toolbox is clunky and difficult to work with. The scalebar function presented here is simple and intuitive. See the documentation file to the right for function Syntax, Description, and Examples.

Cite As

Chad Greene (2026). scalebar for maps (https://au.mathworks.com/matlabcentral/fileexchange/43500-scalebar-for-maps), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: gdistm, circlem, landsat

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Added automatic length scaling, and now supports just about any length unit.

1.1.0.0

Inclusion of example file.

1.0.0.0