updateaxislimits
Versión 1.0.0 (1,92 KB) por
Johannes Hougaard
Function for setting the axis limits using an input dialog
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
Highly inspired by the answer to this question https://mathworks.com/matlabcentral/answers/337225-change-axes-limits-interactively
with a big Thank You to Joseph Cheng
Citar como
Johannes Hougaard (2025). updateaxislimits (https://www.mathworks.com/matlabcentral/fileexchange/95793-updateaxislimits), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2021a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0 |