フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Two axes in GUI

1 回表示 (過去 30 日間)
zeyneb khalili
zeyneb khalili 2019 年 6 月 3 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have GUI with two axes. Axes1 is used to update plots. Axes 2 is just to show an image. The first one is called by pushbutton callback by this command:
set(projetFEM,'currentaxes',handles.axes1);
In the second one, I call imshow in its createFcn. The problem is that image disappear after exiting GUI. I need your help. Thanks in advance.
  4 件のコメント
Adam
Adam 2019 年 6 月 3 日
You mean it doesn't plot the second time?
How are you calling imshow?
You should always give plotting instructions an explicit axes handle to work on to avoid unexpected issues that take time to get to the bottom of.
Geoff Hayes
Geoff Hayes 2019 年 6 月 3 日
zeyneb - why should the image re-appear if you open the GUI a second time? Wouldn't you have to reload it or are you expecting the GUI state to be maintained? (If so, then you will need to program your GUI to do this.)

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by