Changed addPlot