Multiple plots on 1 Figure
Ältere Kommentare anzeigen
Hi I am trying to plot 3 different data sets each with 3 different x axes but the same y axis on one Figure. I want to move the x axis tick labels on the axis that I have two of the data sets on, but I can seem to figure it out. Here is a link to what the plot looks like for more clarification. Any help is much appreciated.
Antworten (1)
Sean de Wolski
am 8 Mai 2012
Either use plotyy() or hold on to accomplish this:
plot(1:10,1:10,'r-');
hold on
plot(1:10,10:-1:1,'b--')
For more info:
doc hold
doc plotyy
Kategorien
Mehr zu Two y-axis finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!