How to enlarge legend marker size?
33 ビュー (過去 30 日間)
古いコメントを表示
I want to increase marker size in the legend (not font size)
2 件のコメント
Adam Danz
2020 年 4 月 18 日
Note, the solution in the link above uses undocumented outputs to legend() that have reently caused problems.
採用された回答
Adam Danz
2020 年 4 月 18 日
編集済み: Adam Danz
2020 年 4 月 18 日
The legend components cannot be independently changed. A workaround is to duplicate the objects on your plot but replace their coordinates with NaN values so the objects appear in the legend but do not appear in the plot.
Follow this demo that changes the line properties in the legend. You can easily adapt it to change the marker properties. If you have any problems, please share your code.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Legend についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!