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

3.13.5 Dew

Method on mglGraph (C++, Python): void Dew (const mglData &x, const mglData &y, const mglData &ax, const mglData &ay, const char *sch="", float zVal=NAN)
C function: void mgl_dew_xy (HMGL gr, const HMDT x, const HMDT y, const HMDT ax, const HMDT ay, const char *sch, float zVal)

The function draws dew-drops for plane vector field {ax, ay} depending parametrically on coordinates x, y at level z=zVal. Note that this is very expensive plot in memory usage and creation time! The color of drops is proportional to \sqrtax^2+ay^2. The number of drops depend on MeshNum (see section Other settings). The color is specified by the string argument sch. Previous color scheme is used by default. The size of ax and ay must be equal. The minor dimensions of arrays x, y and ax must be equal too. Arrays x and y can be vectors (not matrices as ax). The vector field is plotted for each z slice of ax, ay. See also Vect, VectC. See section Dew sample, for sample code and picture.

Method on mglGraph (C++, Python): void Dew (const mglData &ax, const mglData &ay, const char *sch="", float zVal=NAN)
C function: void mgl_dew (HMGL gr, const HMDT ax, const HMDT ay, const char *sch, float zVal)

The same as previous with x, y equidistantly distributed in interval [Min, Max].


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