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.
Citar como
Andres (2024). ticklimits (https://www.mathworks.com/matlabcentral/fileexchange/156547-ticklimits), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2023b
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.
ticklimits
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.1 | revised html |
|
|
1.0.0 |
|