using subplot
Mostra commenti meno recenti
I want to use subplot to plot some figure with the same x-axis range and i dont want to have separated. I want to plot it closely together by using a single a-axis.
1 Commento
Afeez
il 2 Lug 2011
Risposte (1)
Fangjun Jiang
il 2 Lug 2011
Then it's not subplot. Just use plot() with the hold on command.
t=1:0.1:10;
plot(t,0.1*t);
hold on;
plot(t,sin(t));
2 Commenti
Afeez
il 2 Lug 2011
Fangjun Jiang
il 2 Lug 2011
Then, plotyy() can provide 2 y-axis on the left and right.
Categorie
Scopri di più su Two y-axis in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!