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

3.9.13 Mark

These functions draw marks with size r*MarkSize (see section Default sizes) at points {x[i], y[i], z[i]}. 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). If you need to draw markers of the same size then you may use Plot function. See also Plot, TextMark, Stem, Error. See section Mark sample, for sample code and picture.

Method on mglGraph (C++, Python): void Mark (const mglData &x, const mglData &y, const mglData &z, const mglData &r, const char *pen="")
C function: void mgl_mark_xyz (HMGL gr, const HMDT x, const HMDT y, const HMDT z, const HMDT r, const char *pen)

The function draws marks for points {x[i], y[i], z[i]} in 3D space.

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

The function draws marks for points {x[i], y[i]} in plane z=zVal (default in plane z=Min.z).

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

The function draws marks for points {x[i], y[i]} in plane z=zVal (default in plane z=Min.z), 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.