Matlab plot axis stretch
显示 更早的评论
Hi,
I am trying to plot one colomn of an matrix
CurveData(i,j);
plot(CurveData(:,LocYplot),'b o','LineWidth',0.5);
is there anyway that i can have the plot X axis scale display i*3 instead of i ?
thanks
回答(1 个)
Azzi Abdelmalek
2013-2-11
编辑:Azzi Abdelmalek
2013-2-11
use
ii=[1 2 3 4]
set(gca,'xtick',ii*3)
类别
在 帮助中心 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!