Description Usage Arguments Value Author(s) See Also Examples
Plot command for XY scatterplots based on plot and points which provides support for multiple, nonsymmetric error bars. Error bars are drawn as vertical or horizontal lines originating from the point with narrow, perpendicular lines at the end of the error bar (end caps). When multiple errors are drawn, the width of the perpendicular line increases from the innermost error bar to the outermost one. Different summation methods for the individual errors are supported.
1 2 
x 
vector of x coordinates 
y 
vector of y coordinates 
dy 
one of:

ylim 
limits for yaxis 
dx 
Same as 
xlim 
limits for xaxis 
mdx 
Support for nonsymmetric error bars. Same as 
mdy 
Same as 
errsum.method 
Determines how the invidual errors should be summed for display purposes. Valid argument values are:

rep 
If set to 
col 
colour of plotted data 
... 
any graphic options passed over to 
a plot with error bars is drawn on the current device
Returns for convenience a list with elements xlim
and ylim
representing the
x and ylimits chosen by the routine.
Carsten Urbach, urbach@hiskp.unibonn.de
Bartosz
Kostrzewa, bartosz.kostrzewa@desy.de
1 2 3 4 5 6 7  # Create some random data, set one error to zero.
x < 1:50
y < runif(50, 0, 1)
dy < runif(50, 0.1, 0.2)
dy[4] < 0
plotwitherror(x, y, dy)

Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.