How to plot a graph with 2 Y axis of different scale in Matlab 2015?
20 次查看(过去 30 天)
显示 更早的评论
I need to plot 2 plots on the same graph with one y axis on the left and other y axis on the right in Matlab 2015.
0 个评论
采纳的回答
Mustafa Abu-Mallouh
2019-1-15
编辑:Mustafa Abu-Mallouh
2019-1-15
2 个评论
Yadu Bhusal
2022-3-2
编辑:Yadu Bhusal
2022-3-2
Well I was stuck on the same problem. I want 3 data set in primary y axis and 2 data set on secondary y axis with common data along x axis. I tried with [hAx, hLine1, hLine2] = plotyy([x',x',x'],[y1,y2,y3],[x',x'],[y4,y5]) It didn't work. But it worked for two data on primary and one data in secondary. Any help would be appreciated.
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!