using subplot
古いコメントを表示
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 件)
Fangjun Jiang
2011 年 7 月 2 日
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 件のコメント
Afeez
2011 年 7 月 2 日
Fangjun Jiang
2011 年 7 月 2 日
Then, plotyy() can provide 2 y-axis on the left and right.
カテゴリ
ヘルプ センター および File Exchange で Two y-axis についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!