フィルターのクリア

How to plot graph as attached?

1 回表示 (過去 30 日間)
Bum
Bum 2013 年 3 月 10 日
How can I plot a graph as below?

回答 (1 件)

Youssef  Khmou
Youssef Khmou 2013 年 3 月 10 日
hi, you can use : subplot(m,n,i)
where m is the number of lines, n is the number of columns and i the position of the current graph, but i do not know how to generate the legend in the last subplot :
Example , three lines and 2 columns
r=randn(100,1); % Gaussian noise ~N(0,1)
subplot(3,2,1)
plot(r)
subplot(322)
plot(1.2*r);
subplot(3,2,3)
plot(1.4*r);
subplot(3,2,4)
plot(1.6*r);
subplot(3,2,5)
plot(1.6*r);
subplot(3,2,6)
plot(1.8*r);

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by