ticklimits

Version 1.0.1 (153 KB) by Andres
calculate tick-aligned axis limits with customization
7 Downloads
Updated 18 Dec 2023

View License

Sometimes it is handy to calculate tick-aligned axis limits of one or more datasets separately (i.e. not only let Matlab determine the limits while generating the chart) to get custom, but still automatically computed tick-aligned axis limits.
axlim = ticklimits(y)
will mostly reproduce the limits of a standard 2d chart generated by Matlab.
[axlim, ticklen, ybase] = ticklimits(y, maxticks, Name=Value)
offers several customization options for tick-aligned axis limits.

Cite As

Andres (2024). ticklimits (https://www.mathworks.com/matlabcentral/fileexchange/156547-ticklimits), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2023b
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!

ticklimits

Version Published Release Notes
1.0.1

revised html

1.0.0