hi everyone, i'm using "axes" of Matlab GUI. i have to plot 2 parameters on the same graph (axes GUI), each one with its own scale, the first one on the left y-axis and the second one on the right y-axis. how can i do?
what are the steps to add second y-axis (the one on the right side), set the own scale and plot to specified y-axis?

답변 (1개)

Sean de Wolski
Sean de Wolski 2015년 9월 28일

0 개 추천

Use plotyy.
>> plotyy(1:10,1:10,1:10,(1:10).^exp(1))

댓글 수: 1

Daniele Morello
Daniele Morello 2015년 9월 28일
편집: Daniele Morello 2015년 9월 28일
but if i want to plot only on the right y-axis?

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

카테고리

도움말 센터File Exchange에서 Two y-axis에 대해 자세히 알아보기

질문:

2015년 9월 28일

편집:

2015년 9월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by