updates to plotting routines