MATLAB Answers

Problems with graphics in app designer

3 views (last 30 days)
Guillermo Cid Espinosa
Guillermo Cid Espinosa on 29 Mar 2018
Answered: Vivek Jadye on 16 Apr 2018
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 Comments
Guillermo Cid Espinosa
Guillermo Cid Espinosa on 30 Mar 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.

Sign in to comment.

Answers (1)

Vivek Jadye
Vivek Jadye on 16 Apr 2018
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.

Community Treasure Hunt

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

Start Hunting!

Translated by