how to add legends?

1 回表示 (過去 30 日間)
Janet
Janet 2012 年 3 月 29 日
I want to merge 3 plots into one..how can i do that

採用された回答

M
M 2012 年 3 月 29 日
You can also use the following:
hold on %after the first plot to continue plotting on the same figure
legend on
% or legend('plot1','plot2','plot3');

その他の回答 (1 件)

Sean de Wolski
Sean de Wolski 2012 年 3 月 29 日
doc subplot
doc legend
  1 件のコメント
Eric
Eric 2012 年 3 月 29 日
Perhaps also "doc hold"

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeLegend についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by