limit average and std-dev rectangle to plot area.