フィルターのクリア

how to set graph size

5 ビュー (過去 30 日間)
zilai si
zilai si 2019 年 5 月 11 日
回答済み: Josh 2019 年 5 月 11 日
hello everyone, I wonder how to change a graph like this:
into a graph like this
...

採用された回答

Josh
Josh 2019 年 5 月 11 日
I'd use daspect to change the aspect ratio of your axes:
% Create plot vectors
x = [0, 1, 2];
y = [1, 0, 0];
% Plot
plot(x,y);
% Change plot aspect ratio so 1 unit of x equals 2 units of y (and z)
daspect([1,2,2])

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by