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

3.10.1 Mesh

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

The function draws mesh lines for surface specified parametrically {x[i,j], y[i,j], z[i,j]}. String sch sets the color scheme. Previous color scheme is used by default. The minor dimensions of arrays x, y, z should be equal x.nx=z.nx && y.nx=z.ny or x.nx=y.nx=z.nx && x.ny=y.ny=z.ny. Arrays x and y can be vectors (not matrices as z). Mesh lines are plotted for each z slice of the data. See also Surf, Fall, MeshNum (see section Other settings), Cont, Tens. See section Mesh sample, for sample code and picture.

Method on mglGraph (C++, Python): void Mesh (const mglData &z, const char *sch="")
C function: void mgl_mesh (HMGL gr, const HMDT z, const char *sch)

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


© manpagez.com 2000-2024
Individual documents may contain additional copyright information.