How do I add a second y axis scale and label to a graph?
조회 수: 2 (최근 30일)
이전 댓글 표시
I've been using Matlab to solve ODE's however I need to have a second y axis scale and label for my graphs. I've tried the whole hold on box off method and I can't get it to work.
An example of my feeder code is:
[t, y] = ode45('TEST,[0 10], [0 0 0 0]);
plot(t,y) xlabel('Time (s)'); ylabel('Concentration'); axis([0 10 0 50]); set(gca,'XTick',(0:1:10)); set(gca,'YTick',(0:5:50));
I just need a scale on the right y axis and a label.
Thanks in advance
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!