labelplot

Adds plot legend based on 'Tag'
ダウンロード: 1.7K
更新 2009/6/22

ライセンスの表示

This short function will generate a legend based on 'Tag' information given by plot. A legend title is also possible.

figure; hold on; x = 1:10; plot(x,x,'Tag','Positive'); plot(x,-x,'Tag','Negative'); labelplot('eo','v','Slope');

The above example is equivalent to
legend('Positive','Negative')
and adding a text box 'Slope' above it.

引用

Will Robertson (2026). labelplot (https://jp.mathworks.com/matlabcentral/fileexchange/11234-labelplot), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R2006a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersLegend についてさらに検索
バージョン 公開済み リリース ノート
1.1.0.0

Add BSD licence.

1.0.0.0