Help please. i have 2 axes plots on my GUI , i want to reset the output plot(clear the previous output from plot) as i press the load image image button.
조회 수: 2 (최근 30일)
이전 댓글 표시
please help
댓글 수: 0
채택된 답변
Image Analyst
2015년 2월 9일
In the LoadImage button callback:
% Reset first axes.
axes(handles.axes1); % Whichever axes you want to reset.
cla('reset');
% Reset second axes.
axes(handles.axes2); % Whichever axes you want to reset.
cla('reset');
axes(handles.axes1); % Whichever axes you want to display in.
imshow(yourImage);
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!