필터 지우기
필터 지우기

Axes limits - plotv

조회 수: 1 (최근 30일)
Gennaro Arguzzi
Gennaro Arguzzi 2018년 10월 27일
댓글: dpb 2018년 10월 27일
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.

채택된 답변

dpb
dpb 2018년 10월 27일
편집: dpb 2018년 10월 27일
Sure, it's still just drawn on a normal axes object
xlim([-1.5 1.5]); ylim([-1.5 1.5]);
  댓글 수: 2
Gennaro Arguzzi
Gennaro Arguzzi 2018년 10월 27일
Good solution @dpb! The right values are:
xlim([-1.5 1.5]); ylim([-1.5 1.5]);
dpb
dpb 2018년 10월 27일
Probably more useful range, yes... :)

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Object Programming에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by