To clear a graph, click on the Clear Graph toolbutton as shown below: Alternatively, you can select Clear from the File drop down menu.