Help with multiple plots and axis
2 views (last 30 days)
Show older comments
AVP on 14 Oct 2014
Commented: AVP on 15 Oct 2014
I'm trying to find information on how to plot 5 different plots on the same plot, but using the left y-axis for 2 of them and the right y-axis for 3 of them. They are very different in scale and so I need them to be overlapped but tied to different scales. I've seen quite a few videos and forum posts on how to do multiple graphs OR multiple axis but I haven't seen anything on doing both at the same time. I've tried combining both but I keep getting errors. Any help is greatly appreciated.
Andrew Bliss on 15 Oct 2014
Something like this might work:
ax(1)=axes; hold on
ax(2)=axes; hold on
Find more on Line Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!