setting the step of x and y axes
2 次查看(过去 30 天)
显示 更早的评论
I'm looking for the way to set the step of x and y axes. does it exist a way?
采纳的回答
Azzi Abdelmalek
2012-10-18
编辑:Azzi Abdelmalek
2012-10-18
t=0:0.1:10
y=cos(t)
plot(t,y)
set(gca,'xtick',linspace(min(t),max(t),8),'ytick',linspace(min(y),max(y),8))
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!