resized the plot window