File Exchange

image thumbnail


version (1.82 KB) by Robert
Formats axis tick labels as offsets from min value

1 Download

Updated 08 Sep 2016

From GitHub

View license on GitHub

offsetTicks replaces the tick labels with values representing the offset from the first value, i.e., "100, 101, 102, 103, 104" is replaced by "100, +1, +2, +3, +4." This function adds a listener to the axis to maintain the formatting when the figure is redrawn.

Cite As

Robert (2021). offsetTicks (, GitHub. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2016a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!