Appdesigner: Multiple layers - Hide an axis and access one underneath.

4 vues (au cours des 30 derniers jours)
I am trying to set-up two small axes and then a larger one over the top of them. Ideally, when I press a button, I would be able to switch between the two views (the two small axes or the one large axis).
The only way I have been able to find to do this so far, is to create a graph, delete it when I don't need it and then re-create it later on.
I tried using the 'Visible' option, but that just leaves a grey square over ther area and so it is not really invisible, as it obscures the underlying image (axis).
Is there a better/easier way to accomplish this, please ?

Réponse acceptée

Marco Frieslaar
Marco Frieslaar le 3 Oct 2018
Not to worry, I have found my own answer.
I have played around with the 'Position' of the plot and set it to [0 0 0 0] when I want it to vanish and then back to the original position settings when I want it to re-appear.
In effect, it is always present, it just becomes really, really tiny when I want it to disappear.

Plus de réponses (0)

Catégories

En savoir plus sur Graphics Performance 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!

Translated by