Plot not disappearing when using STOP button and visible off

조회 수: 1(최근 30일)
function pushbutton3_Callback(hObject, eventdata, handles)
% hObject handle to pushbutton3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
%guidata(hObject, handles);
I have created pushbutton to stop the programme. Simultaneously it should make the plot in handles.axes4 invisible. However the axes get invisbile put plot remains. How to rectify the same

채택된 답변

Mehmed Saad
Mehmed Saad 2021년 3월 8일
Read this
Try this
I think it will work
  댓글 수: 5
Mehmed Saad
Mehmed Saad 2021년 3월 9일
do you mean shift that to new figure
or save it as a figure

댓글을 달려면 로그인하십시오.

추가 답변(0개)


Find more on Specifying Target for Graphics Output in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by