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

2 Ansichten (letzte 30 Tage)
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 ?

Akzeptierte Antwort

Marco Frieslaar
Marco Frieslaar am 3 Okt. 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.

Weitere Antworten (0)

Kategorien

Mehr zu Graphics Performance 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!

Translated by