Borrar filtros
Borrar filtros

Axes limits - plotv

1 visualización (últimos 30 días)
Gennaro Arguzzi
Gennaro Arguzzi el 27 de Oct. de 2018
Comentada: dpb el 27 de Oct. de 2018
Hello everyone,
is it possible to specify the limits of axes when I use the statement plotv? I have the code:
M1 = [1 0.7071; 0 0.7071]
figure(1)
plotv(M1,'-')
and I'd like to set limits [-1.5, 1.5] for both axes.
Thank you so much.

Respuesta aceptada

dpb
dpb el 27 de Oct. de 2018
Editada: dpb el 27 de Oct. de 2018
Sure, it's still just drawn on a normal axes object
xlim([-1.5 1.5]); ylim([-1.5 1.5]);
  2 comentarios
Gennaro Arguzzi
Gennaro Arguzzi el 27 de Oct. de 2018
Good solution @dpb! The right values are:
xlim([-1.5 1.5]); ylim([-1.5 1.5]);
dpb
dpb el 27 de Oct. de 2018
Probably more useful range, yes... :)

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Graphics Object Programming 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