MATLAB: Clear image in GUI

getting startedguiguidematlab gui

Hi,
Is there another way to clear image in axes beside using the following code?
cla(handles.im1,'reset')
If i use this, it even clears the ButtonDownFcn of my axes.
Thanks

Best Answer

cla(handles.im1)