Major revision to plot functions

Changes allow improved user control of point and line colours/sizes;
allow control of key placement.