updateaxislimits

Function for setting the axis limits using an input dialog
1 Download
Updated 13 Jul 2021

View License

Interactively change the limits of your axes using numeric input in a dialog.
Most effectively used as a ButtonDownFcn for your axis labels.
If used in that way it enables the functionality of double-click on your axis label (not the axis itself or the numbers in the axis, but the label next to the axis) to rescale your axis to the desired numerical range.
An alternative to using zoom on your figure
with a big Thank You to Joseph Cheng

Cite As

Johannes Hougaard (2024). updateaxislimits (https://www.mathworks.com/matlabcentral/fileexchange/95793-updateaxislimits), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2021a
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!
Version Published Release Notes
1.0.0