Size of horizontal axis

2 ビュー (過去 30 日間)
ABCDEFG HIJKLMN
ABCDEFG HIJKLMN 2022 年 2 月 18 日
コメント済み: ABCDEFG HIJKLMN 2022 年 2 月 18 日
I have a plot where the y values are of order 10e^4 and the x values are of order 10^1.
When I plot these, the plot looks like this:
How can I increase the horizontal dimension?
Thanks in advance!

回答 (1 件)

Image Analyst
Image Analyst 2022 年 2 月 18 日
Look at the axis options. You must be using "axis equal" and since the y values are 10 thousand times bigger than the x values, you get a tall and skinny graph. Check out and experiment with the other axis options.
  3 件のコメント
Image Analyst
Image Analyst 2022 年 2 月 18 日
Did you try
axis auto
? Or maybe
axis square
ABCDEFG HIJKLMN
ABCDEFG HIJKLMN 2022 年 2 月 18 日
I did not write axis in the code, I have only picked the xlim from 0 to 50.
How would you suggest I do this?

サインインしてコメントする。

カテゴリ

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

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by