Added ability to add text to plot