scaling plot window adjustment