new/better plotting routines pulled from WORKING_UPDATED's version