How to make sure MatLab outputs the full legend correctly?

2 ビュー (過去 30 日間)
Tolulope
Tolulope 2012 年 10 月 15 日
I have 56 data lines that I plot. When I ask MatLab to insert a legend or call it in the command (either way I get the same problem)...
figureLegend = legend(figureAxes,'show');
MatLab only displays the first 50 data lines in the legend. If I click Refresh it updates to the full list of 56. This is not ideal since I want to automate the process. Any ideas as to why this is happening?
  1 件のコメント
laurie
laurie 2012 年 10 月 15 日
legends s***. they always display very weird behavior. I would introduce some pausing between plotting and legend insertion maybe ?

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

回答 (0 件)

カテゴリ

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