working clear button

plot button updates to plot but still static not path.