errorbar plot and stderr function