How can I delet a point in Uiaxes thats Handlevisibility is set to 'off''
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Kristin Schall - van Bellen
am 19 Aug. 2020
Kommentiert: Adam Danz
am 20 Aug. 2020
I designed an App with the App designer with several UIAxes.
When the user selects one or more samples, they are plotted and displayed in a legend.
Now I would like to show the maximum values. If I put crosses on the maximums, I don't want them to appear in the legend.
Therefor I set the HandleVisibility on 'off'.
My problem now is that when I select other samples and the graph is replotted, the old crosses at the positions of the previously selected samples are still visible.
How can I change this?
cla() and setting the HandleVisibility to 'on' is'nt working.
0 Kommentare
Akzeptierte Antwort
Adam Danz
am 19 Aug. 2020
Control what appears in the legend without setting HandleVisibility to off.
Use object handles to specify what belongs in the legend or turn the the legend's AutoUpdate property off to prevent additional objects from appearing within the legend.
4 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Legend finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!