필터 지우기
필터 지우기

Size of horizontal axis

조회 수: 1 (최근 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 CenterFile Exchange에서 2-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