setting the step of x and y axes

7 Ansichten (letzte 30 Tage)
Salvatore Mazzarino
Salvatore Mazzarino am 18 Okt. 2012
I'm looking for the way to set the step of x and y axes. does it exist a way?
  1 Kommentar
Thomas
Thomas am 18 Okt. 2012
what do you mean by 'step of x and y axes'?

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 18 Okt. 2012
Bearbeitet: Azzi Abdelmalek am 18 Okt. 2012
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))

Weitere Antworten (0)

Kategorien

Mehr zu Visual Exploration finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by