Adding legends

1 回表示 (過去 30 日間)
Tim Mottram
Tim Mottram 2012 年 1 月 30 日
Because of the way I am plotting my graph it is requires that I add legends manually. Is there a way to insert a custom legend? for example (on the current axis): add legend('string name','box type','line colour') or something like that?
Regards
Tim
Thanks in advance :)

回答 (1 件)

Bjorn Gustavsson
Bjorn Gustavsson 2012 年 1 月 30 日
If the default legend function does not cut it for you, maybe one of the variants found on the file exchange gets the job done:
Otherwise you might have to do your own version - or in the worst case truly manually.
HTH,

カテゴリ

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