Question: why clf is used in matlab?
Answer: clf (MATLAB Functions) clf deletes from the current figure all graphics objects whose handles are not hidden (i.e., their HandleVisibility property is set to on ).