setting the step of x and y axes

7 次查看(过去 30 天)
I'm looking for the way to set the step of x and y axes. does it exist a way?

采纳的回答

Azzi Abdelmalek
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 个)

类别

Help CenterFile Exchange 中查找有关 Visual Exploration 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by