Decrease the scale of y-axis

조회 수: 4 (최근 30일)
Duong Nguyen
Duong Nguyen 2018년 1월 17일
편집: Adam 2018년 1월 17일
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
Duong Nguyen
Duong Nguyen 2018년 1월 17일
편집: Duong Nguyen 2018년 1월 17일
Thank you for your instruction. I am new to MATLAB so I did not know that. I have put some bracket so that it is easier to read
Rik
Rik 2018년 1월 17일
You misunderstood. When you write or edit something on this website you will see a button with the text {}Code. If you look at your question it is still unreadable. See here for an animated GIF explaining this.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by