필터 지우기
필터 지우기

Change Legend Markers after legend creation in App Designer

조회 수: 4 (최근 30일)
Joel Möllering
Joel Möllering 2018년 1월 3일
답변: Neil Guertin 2018년 1월 4일
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