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.
Cita come
Andres (2024). ticklimits (https://www.mathworks.com/matlabcentral/fileexchange/156547-ticklimits), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2023b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
ticklimits
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.1 | revised html |
|
|
1.0.0 |
|