fixed plotting of 1 and 2sigma errors