How to fit legend inside a figure
古いコメントを表示
i need to plot 250 signals at a time so what the best way to fit all the legends(250) next to plot.
now only few legends are visible(say 50) due to space constraints
採用された回答
その他の回答 (1 件)
Matt Fig
2012 年 10 月 27 日
Even with fontsize 1 the entries are not visible. I think you could make your own legend, but it would require a bit of HG fun and still take up most of the figure. Perhaps you need to rethink your approach...
plot(rand(250))
L = legend(regexp(sprintf('A%i;',1:250),';','split'));
set(L,'fontsize',1)
カテゴリ
ヘルプ センター および File Exchange で Legend についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!