필터 지우기
필터 지우기

How can I broaden an axis?

조회 수: 35 (최근 30일)
Leonard
Leonard 2013년 12월 18일
댓글: Leonard 2013년 12월 18일
Hello people, I am stuck with a problem: I have a 3D plot and my x-axis is much longer than my y-axis. The result is, that the figure is very long and narrow, so I can't really see anything. So I would like to lengthen this axis (without changing it's limits). Does anyone know a solution for that? I could not find anything and also didn't know how to best circumscribe it.
Thanks a lot! Leo
PS: Should you not understand what I mean then ask and I post a picture of my figure.
  댓글 수: 1
David Sanchez
David Sanchez 2013년 12월 18일
could you please paste the figure?

댓글을 달려면 로그인하십시오.

채택된 답변

David Sanchez
David Sanchez 2013년 12월 18일
From documentation:
Setting the data aspect ratio to [1 1 1] produces a surface plot with equal scaling along each axis.
daspect([1 1 1])
change the values to achieve the desired aspect, for example, to widen (x2) y-axis:
daspect([1 2 1])
You can try as well with
axis normal
  댓글 수: 1
Leonard
Leonard 2013년 12월 18일
Nice, works great. Thanks a lot!

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Leonard
Leonard 2013년 12월 18일
OK, did that. So I would like to have like unproportional bar graphs and not square graphs, so the whole figure gets more like a square and not so long and narrow.

카테고리

Help CenterFile Exchange에서 Discrete Data Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by