setting the step of x and y axes

7 visualizaciones (últimos 30 días)
Salvatore Mazzarino
Salvatore Mazzarino el 18 de Oct. de 2012
I'm looking for the way to set the step of x and y axes. does it exist a way?
  1 comentario
Thomas
Thomas el 18 de Oct. de 2012
what do you mean by 'step of x and y axes'?

Iniciar sesión para comentar.

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 18 de Oct. de 2012
Editada: Azzi Abdelmalek el 18 de Oct. de 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))

Más respuestas (0)

Categorías

Más información sobre Visual Exploration en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by