setting the step of x and y axes

7 visualizzazioni (ultimi 30 giorni)
I'm looking for the way to set the step of x and y axes. does it exist a way?
  1 Commento
Thomas
Thomas il 18 Ott 2012
what do you mean by 'step of x and y axes'?

Accedi per commentare.

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 18 Ott 2012
Modificato: Azzi Abdelmalek il 18 Ott 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))

Più risposte (0)

Categorie

Scopri di più su Visual Exploration in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by