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

1 次查看(过去 30 天)
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 ?

采纳的回答

Marco Frieslaar
Marco Frieslaar 2018-10-3
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Graphics Performance 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by