Problems with graphics in app designer

I am developing an interface with app designer and I have one problems related to graphics.
I want to enlarge one of the graphics to make it bigger and the other graphics do not disappear despite putting them invisible and they appear on top of the enlarged graphic. I attach a picture in which you see the prblem.
Thanks for your help

4 comentarios

Birdman
Birdman el 30 de Mzo. de 2018
Which graphics do you want to disappear?
Guillermo Cid Espinosa
Guillermo Cid Espinosa el 30 de Mzo. de 2018
I want the gray squares that appear in the corners to disappear.
I have made the following code but it appears as seen in the photo.
app.Graph1.Visible = 'off';
app.Graph3.Visible = 'off';
app.Graph4.Visible = 'off';
Birdman
Birdman el 30 de Mzo. de 2018
Can you share your app in a zip file?
Guillermo Cid Espinosa
Guillermo Cid Espinosa el 30 de Mzo. de 2018
If I attach it. The problem is that the data received is from a micro so you will not be able to represent that graph.

Iniciar sesión para comentar.

Respuestas (1)

Vivek Jadye
Vivek Jadye el 16 de Abr. de 2018

0 votos

Hi Guillermo,
UIAxes behaves like a conventional axes and a uicontainer at the same time for visibility purposes. It has a non-transparent background that cannot be hidden. This is done so that we can support axis off workflows where users still want to see the plots inside of the Axes.
Here is a decent workaround. Create the uiaxes (the one that you want to hide) in a uipanel and hide the panel itself. This requires small changes to your app but will resolve your problem.
Hope this helps.

Categorías

Más información sobre Graphics Objects en Centro de ayuda y File Exchange.

Preguntada:

el 29 de Mzo. de 2018

Respondida:

el 16 de Abr. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by