필터 지우기
필터 지우기

Changing the scale of Y-Axis!

조회 수: 5 (최근 30일)
M G
M G 2011년 10월 6일
댓글: Stewart Smith 2019년 12월 5일
Hello,
If x = [1 2 3]; and y = [6 7 9]; and I get bar(x,y) the y-axis contains the number between 1 to 9.
Now I wanna change the scale for y-axis in a way that it should be 1 to 20. How can I do that?
Thank you very much :) Mehdi

답변 (1개)

Grzegorz Knor
Grzegorz Knor 2011년 10월 6일
  댓글 수: 2
Jan
Jan 2011년 10월 6일
+1: One of the shortest but complete answers.
Stewart Smith
Stewart Smith 2019년 12월 5일
that doesn't scale the axis it just increases the range

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

카테고리

Help CenterFile Exchange에서 2-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