Change Legend Markers after legend creation in App Designer

1 次查看(过去 30 天)
Hello, After reading through the documentation, I discovered that using legend() with more than 1 output allows changing legend icon properties. However, legend doesn't allow that in App Designer. That's a bummer because if App Designer is intended to make apps, it should allow full customization of whatever a person wants to show in the app. So, my question is: anyone knows any workaround to be able un-link the automatic legend marker icons? (I mean, right now, if I change the marker Size in the plot, the legend updates automatically, but I don't want that, I want the size of the icons to remain static.)

采纳的回答

Neil Guertin
Neil Guertin 2018-1-4
There is no currently supported way to get access to the icons of a legend in App Designer. As a workaround you could create an invisible line with the desired marker size and use a reference to it in the legend instead.
The multiple output version of legend is a compatibility measure for a syntax used long ago and is not available on the newer version of the legend used in App Designer.

更多回答(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