How to fix the scaling of axis?
27 views (last 30 days)
Show older comments
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.
This will help me a lot.
Thanks in advance. Mahesh
0 Comments
Accepted Answer
Geoff Hayes
on 25 Nov 2014
ylim([0.7 1]);
5 Comments
Geoff Hayes
on 25 Nov 2014
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?
More Answers (0)
See Also
Categories
Find more on Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!