add scaling to plot