Method: Pgplot.pgerrb
- Defined in:
- ext/rb_pgplot.c
.pgerrb(*args) ⇒ Object
PGERRB – horizontal or vertical error bar
pgerrb, dir, x, y, err [,tlen]
dir : direction to plot the error relative to the data point.
One-sided error bar:
DIR is 1 for +X (X to X+E);
2 for +Y (Y to Y+E);
3 for -X (X to X-E);
4 for -Y (Y to Y-E).
Two-sided error bar:
DIR is 5 for +/-X (X-E to X+E);
6 for +/-Y (Y-E to Y+E).
x : world x-coordinates of the data.
y : world y-coordinates of the data.
err : value of error distance to be added to the
data position in world coordinates.
tlen: length of terminals to be drawn at the ends of the error ,
as a multiple of the default length.
329 330 331 332 333 334 |
# File 'ext/rb_pgplot.c', line 329 static VALUE rb_pgplot_pgerrb( int argc, VALUE *argv, VALUE self ) { ( argc-1, argv+1, 0, NUM2INT(argv[0]) ); return Qtrue; } |