Cleaned up unnecessary double pointer.
Remove all plot elements before creating new plot.