plot and error changes