Skip to content

v1.1.0

Choose a tag to compare

@github-actions github-actions released this 15 Jul 18:22

MATLAB Versions Tested

What's changed

This release note compares v1.1.0 d7b8b4e with v1.0.6 c3546d7 published via FileExchange

Potentially breaking changes

  • The default Location is now "southeast", which places the scale bar inside the axes. Previously the default was "southeastoutside". Set Location explicitly when an outside placement is required.
  • Constructor inputs and public property values are now validated. Calls that previously accepted invalid lengths, option names, locations, or property values now report an error.

Added

  • Modern constructor forms based on MATLAB argument blocks, including name-value configuration and Axis="y" for vertical scale bars. The legacy positional axis syntax remains supported.
  • MATLAB function-signature metadata for code completion and argument hints.
  • Public-property documentation and a getting-started live script.
  • A top-level MATLAB unit-test suite, visual regression helper, and coverage reporting in CI.
  • Complete runnable examples for calibrated images and plot data, together with reproducible README image export and polished example figures.

Fixed

  • Vertical scale-bar labels now respect TextSpacing, including east/west, inside/outside, and reversed-x-axis placements.
  • Scale-bar configuration and graphics updates are validated and synchronised more consistently when properties change.

Changed

  • The README now documents installation, current constructor usage, name-value options, and runnable image and plot examples.
  • CI test discovery now uses the top-level tests directory and publishes coverage with the repository token.

See the full comparison.