Custom and centered axes for 2D plot

It is way to place axes in eny point you want. Makes plot more readable and presented.
1.1K 次下载
更新时间 2009/3/10

查看许可证

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
类别
Help CenterMATLAB 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!
版本 已发布 发行说明
1.1.0.0

I changed name from "manual" to "custom" (my poor english)

1.0.0.0