フィルターのクリア

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 Center および File ExchangeGraphics Object Programming についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by