How can i plot f(i),g(i),h(i) in one figure(i)?
1 回表示 (過去 30 日間)
古いコメントを表示
I want to plot each three diagrams in one figure
0 件のコメント
採用された回答
Star Strider
2014 年 6 月 7 日
Your loop becomes:
figure(1)
for i = 1:3
subplot(3,1,i)
. . .
plot(x,f(i),'-b', ... )
. . .
end
to get 3 stacked plots in one figure. Other configurations are possible. See the documentation on subplot for details.
6 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!