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.
引用格式
Andres (2024). ticklimits (https://www.mathworks.com/matlabcentral/fileexchange/156547-ticklimits), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2023b
兼容任何版本
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!ticklimits
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.1 | revised html |
|
|
1.0.0 |
|