all plotting routines now working