How to enlarge legend marker size?

35 次查看(过去 30 天)
I want to increase marker size in the legend (not font size)

采纳的回答

Adam Danz
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 个)

类别

Help CenterFile Exchange 中查找有关 Legend 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by