Draw Error Bars on an Existing xy Diagram
Arguments
- x, y
coordinates of points on the existing plot.
- xe, ye
errors on x and y coordinates of points on the existing plot, each either a single number or a vector of length identical to that of the corresponding coordinate.
- percent
boolean flag indicating whether
xeandyeare in terms of percent of the correspondingxandyvalues.- style
indication of the style of error bar. Using
style=0yields simple line segments (drawn withsegments()) andstyle=1yields line segments with short perpendicular endcaps.- length
length of endcaps, for
style=1only; it is passed toarrows(), which is used to draw that style of error bars.- ...
graphical parameters passed to the code that produces the error bars, e.g. to
segments()forstyle=0.
