function cleargraphics()

drawnow;
cla;
