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.
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Risposta accettata
Image Analyst
il 9 Feb 2015
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);
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Annotations in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!