scaling the plot