more plotting code updates for sean