Custom and centered axes for 2D plot
版本 1.1.0.0 (1.6 KB) 作者:
Alexander Brodsky
It is way to place axes in eny point you want. Makes plot more readable and presented.
In the internet I found this files for this purpose :
centaxes.m , centeraxes.m
I read their code and made my version.
example of using my function:
x=[-2*pi:0.1:2*pi];
plot(x,cos(x));
newaxes
OR
x=[-2*pi:0.1:2*pi];
plot(x,cos(x));
newaxes(1,-0.5)
引用格式
Alexander Brodsky (2024). Custom and centered axes for 2D plot (https://www.mathworks.com/matlabcentral/fileexchange/22715-custom-and-centered-axes-for-2d-plot), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R13
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Graphics > 2-D and 3-D Plots >
在 Help Center 和 MATLAB Answers 中查找有关 2-D and 3-D Plots 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!