Change Legend Markers after legend creation in App Designer
3 views (last 30 days)
Show older comments
Joel Möllering
on 3 Jan 2018
Answered: Neil Guertin
on 4 Jan 2018
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.)
0 Comments
Accepted Answer
Neil Guertin
on 4 Jan 2018
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 Comments
More Answers (0)
See Also
Categories
Find more on Legend in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!