Plot on the right y-axis
古いコメントを表示
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
2015 年 9 月 28 日
Use plotyy.
>> plotyy(1:10,1:10,1:10,(1:10).^exp(1))
1 件のコメント
Daniele Morello
2015 年 9 月 28 日
編集済み: Daniele Morello
2015 年 9 月 28 日
カテゴリ
ヘルプ センター および File Exchange で Two y-axis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!