manpagez: man pages & more
info mathgl
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.9.15 Error

These functions draw error boxes at points {x[i], y[i]} on plane z = zVal (by default z=Min.z). This can be useful, for example, in experimental points, or to show numeric error or some estimations and so on. The plots are drawn for each row if one of the data is the matrix. By any case the sizes of 1st dimension must be equal for all arrays x.nx=y.nx=z.nx=r.nx. String pen specifies the color and style of line and marks (see section Line styles). By default (pen="") solid line with color from palette is used (see section Pallete and colors). See also Plot. See section Error sample, for sample code and picture.

Method on mglGraph (C++, Python): void Error (const mglData &x, const mglData &y, const mglData &ex, const mglData &ey, const char *pen="")
C function: void mgl_error_exy (HMGL gr, const HMDT x, const HMDT y, const HMDT ex, const HMDT ey, const char *pen)

Draws a error box {ex, ey} in point position {x, y}.

Method on mglGraph (C++, Python): void Error (const mglData &x, const mglData &y, const mglData &ey, const char *pen="")
C function: void mgl_error_xy (HMGL gr, const HMDT x, const HMDT y, const HMDT ey, const char *pen)

Draws a error box ey (along only one direction) in point position {x, y}.

Method on mglGraph (C++, Python): void Error (const mglData &y, const mglData &ey, const char *pen="")
C function: void mgl_error (HMGL gr, const HMDT y, const HMDT ey, const char *pen)

Draws a error box ey (along only one direction) in point position {x, y}, where x[i] values are equidistantly distributed in interval [Min.x, Max.x].


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.