Prev: Matlab Memory Leak
Next: Virus Transport equation
From: reserved reserved on 21 May 2010 10:37 Hi , How can I delete images that are displayed on an axes when a button is pressed ? I mean I want to clear the axes from all images. Thanks
From: Walter Roberson on 21 May 2010 11:01 reserved reserved wrote: > How can I delete images that are displayed on an axes when a button is > pressed ? > I mean I want to clear the axes from all images. delete(findobj(AxisHandle, 'Type', 'image')) But are you sure you only want to remove the axes and leave everything else the same? Do you perhaps instead wish to use cla ?
From: Matt Fig on 21 May 2010 11:04 A = image(rand(3)); delete(A) % Or see the help for CLA.
|
Pages: 1 Prev: Matlab Memory Leak Next: Virus Transport equation |