add support for x errors to plotwitherror, keeping backwards-compatibility