Axes limits - plotv

5 views (last 30 days)
Gennaro Arguzzi
Gennaro Arguzzi on 27 Oct 2018
Commented: dpb on 27 Oct 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.

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!