Added plot_clear and plot_reset.