Patch removal from image

Hi!
Is there a possibilty for removing a previous displayed patch from an axes image? I mean without reconstructing the previous image ?
Amit

Answers (1)

Yes, delete() the handle of the patch. For example,
delete(findobj('type', 'patch'));
would delete all patches that do not have hidden handles.

Tags

Asked:

on 23 Nov 2012

Community Treasure Hunt

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

Start Hunting!