Why does my axes disappear when putting a background image?

1 次查看(过去 30 天)
Good evening. I have the following problem. I am using this code to put an image in a Gui in the background, the objects that I have in the Gui remain visible on the image, except for my 2 axes that I have in the GUI, which seem to be hidden in the image. What should I do to make them look? Thank you.
ha = axes('units','normalized', ...
'position',[0 0 1 1]);
uistack(ha,'bottom');
I=imread('eight.tif');
hi = imagesc(I)
colormap gray
set(ha,'handlevisibility','off', ...
'visible','off')
axes('position',[0.3,0.35,0.4,0.4])
  6 个评论
Pedro Guevara
Pedro Guevara 2020-4-2
@Image Analyst
@Walter Roberson
Thank you very much for your answers. Solve the problem by modifying the "Design" option for the "GUI" and for the "axes". The strange thing is that before it worked perfectly and suddenly this happened, without modifying the specific options.

请先登录,再进行评论。

回答(0 个)

类别

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

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by