フィルターのクリア

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.

3 ビュー (過去 30 日間)
please help

採用された回答

Image Analyst
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);
  1 件のコメント
Pradeep Gowda
Pradeep Gowda 2015 年 2 月 9 日
thank you it worked fine . but i have made my axes invisible, but now after executing this "axes(handles.axes1); cla('reset');" it becomes visble. is there a way to avoid this?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeVisual Exploration についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by