updated plot scaling