
How can I toggle visibility of graphics handles in the Property Inspector?
15 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MathWorks Support Team
le 3 Mar 2023
Réponse apportée : MathWorks Support Team
le 3 Mar 2023
I am plotting multiple data series on a figure, and would like to toggle the visibility of the series on and off repeatedly.
Using "plotbrowser", I am able to check and uncheck the boxes for each data series, as shown in the picture on the documentation page:
On that documentation it is also mentioned that "plotbrowser" is not recommended and will be deprecated in the future. Instead, the "Property Inspector" is recommended, documented here:
How can I achieve the same workflow in Property Inspector?
Réponse acceptée
MathWorks Support Team
le 3 Mar 2023
To toggle the visibility of graphics handles using the Property Inspector, please follow the steps below:
1. In the Property Inspector, find the dropdown tree on the top to display graphics handles.
2. Select the relevant handle for the object you wish to toggle its visibility.
3. Navigate to the "Interactivity > Visible" property and select/deselect the checkbox.
The image below illustrates the workflow, where a "scatter" plot has been made not visible.

0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Analyze Simulation Results dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!