how can i rescale ths axes of 2-D graph so the x-axis and the y-axis coordinates are: -4,-2,0,2,4?

1 visualización (últimos 30 días)
thanks.

Respuestas (1)

Muruganandham Subramanian
Muruganandham Subramanian el 10 de Dic. de 2012
Are you expecting this:
figure;
xlim([-4 4])
ylim([-4 4])
  2 comentarios
Muruganandham Subramanian
Muruganandham Subramanian el 10 de Dic. de 2012
Editada: Muruganandham Subramanian el 10 de Dic. de 2012
then goto Edit -> Axes Properties -> then select X axis then click More Properties in Axis Rulers -> Xtick delete data(i.e. -3 -1 1 3). Repeat the same from instead of X axis, Use Y axis

Iniciar sesión para comentar.

Categorías

Más información sobre 2-D and 3-D Plots 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