This MATLAB function deletes all graphics objects that have visible handles from the current axes.
www.mathworks.com