setting the step of x and y axes

7 vues (au cours des 30 derniers jours)
Salvatore Mazzarino
Salvatore Mazzarino le 18 Oct 2012
I'm looking for the way to set the step of x and y axes. does it exist a way?
  1 commentaire
Thomas
Thomas le 18 Oct 2012
what do you mean by 'step of x and y axes'?

Connectez-vous pour commenter.

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 18 Oct 2012
Modifié(e) : Azzi Abdelmalek le 18 Oct 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))

Plus de réponses (0)

Catégories

En savoir plus sur Visual Exploration dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by