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

3.14.4 Dots

Method on mglGraph (C++, Python): void Dots (const mglData &x, const mglData &y, const mglData &z, const char *sch="")
Method on mglGraph (C++, Python): void Dots (const mglData &x, const mglData &y, const mglData &z, const mglData &a, const char *sch="")
C function: void mgl_dots (HMGL gr, const HMDT x, const HMDT y, const HMDT z, const char *sch)
C function: void mgl_dots_a (HMGL gr, const HMDT x, const HMDT y, const HMDT z, const HMDT a, const char *sch)

The function draws the arbitrary placed points {x[i], y[i], z[i]}. String sch sets the color scheme. Previous color scheme is used by default. If array a is specified then it define the transparency of dots. Arrays x, y, z, a must have equal sizes. See also Crust, Mark, Plot. See section Dots sample, for sample code and picture.

Method on mglGraph (C++): void Dots (const mglData &tr, const char *sch="")
C function: void mgl_dots_tr (HMGL gr, const HMDT tr, const char *sch)

The same as previous with x=tr(0,:), y=tr(1,:), z=tr(2,:) and if tr.nx>3 then a=tr(3,:).


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