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일

1 개 추천

Sure, it's still just drawn on a normal axes object
xlim([-1.5 1.5]); ylim([-1.5 1.5]);

댓글 수: 2

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개)

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

태그

질문:

2018년 10월 27일

댓글:

dpb
2018년 10월 27일

Community Treasure Hunt

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

Start Hunting!

Translated by