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 件のコメント

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

カテゴリ

ヘルプ センター および File ExchangeCreating, 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