How to fix the scaling of axis?
조회 수: 9 (최근 30일)
이전 댓글 표시
Hi, I have a plot from matlab as show. However, I would like to format the scaling of y axis insuch a that upper limit is 1 and lower limit is 0.7. I have tried none of them works. Could you please help me so that I can truncate the plot by decimal place.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/146208/image.png)
This will help me a lot.
Thanks in advance. Mahesh
댓글 수: 0
채택된 답변
Geoff Hayes
2014년 11월 25일
ylim([0.7 1]);
댓글 수: 5
Geoff Hayes
2014년 11월 25일
Mahesh - but that is your choice to set the limits. Why 0.6 and not 0.7? What is 0.718 - the minimum value on the y-axis or something else?
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!