Effacer les filtres
Effacer les filtres

Change Legend Markers after legend creation in App Designer

4 vues (au cours des 30 derniers jours)
Joel Möllering
Joel Möllering le 3 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.)

Réponse acceptée

Neil Guertin
Neil Guertin le 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.

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by