Added some more example plot controler functions. Also added a keyword argunment to the plotData function to control if the legend of the plot should be rendered or not.