Decrease the scale of y-axis
Show older comments
I have plotted 2 graphs of y versus t with following commands:
t = linspace(0,10,20);
y = 1./((3/10^(8*8)*7.7*10^58*10^(3/2)*t)/2 + 1/1000).^(2/3);
plot(t,y)
hold on
y5 = 1./((3/10^(8*9)*7.7*10^58*10^(3/2)*t)/2 + 1/1000).^(2/3);
plot(t,y5)
In the attached image, they are blue and red lines, respectively. But I want to scale up the image to observe the clear differences of graph y5 vs t (red one)(i.e. y-axis should be limited from 50 to 100 to see clearer the red graph). So how can I do with that?
3 Comments
Adam
on 17 Jan 2018
doc ylim
Also please learn to format your code using the {} Code block. It is unreadable like that.
Duong Nguyen
on 17 Jan 2018
Edited: Duong Nguyen
on 17 Jan 2018
Answers (0)
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!