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

3.14.7 TriCont

Method on mglGraph (C++, Python): void TriContV (const mglData &v, const mglData &id, const mglData &x, const mglData &y, const mglData &z, const mglData &c, const char *sch="", float zVal=NAN)
Method on mglGraph (C++, Python): void TriContV (const mglData &v, const mglData &id, const mglData &x, const mglData &y, const mglData &z, const char *sch="", float zVal=NAN)
C function: void mgl_tricont_xyzcv (HMGL gr, const HMDT v, const HMDT id, const HMDT x, const HMDT y, const HMDT z, const HMDT c, const char *sch, float zVal)
C function: void mgl_tricont_xyzv (HMGL gr, const HMDT v, const HMDT id, const HMDT x, const HMDT y, const HMDT z, const char *sch, float zVal)

The function draws contour lines for surface of triangles at z = zVal (or for z=v[k] if zVal==NAN). Triangle vertexes are set by indexes id of data points {x[i], y[i], z[i]}. Contours are plotted for z[i,j]=v[k] where v[k] are values of data array v. String sch sets the color scheme. Previous color scheme is used by default. Array c (if specified) is used for contour coloring. First dimensions of id must be 3 or greater. Arrays x, y, z must have equal sizes. Parameter c set the colors of triangles (if id.ny=c.nx) or colors of vertexes (if x.nx=c.nx). See also TriPlot, Cont.

Method on mglGraph (C++, Python): void TriCont (const mglData &id, const mglData &x, const mglData &y, const mglData &z, const mglData &c, const char *sch="", num=7, float zVal=NAN)
Method on mglGraph (C++, Python): void TriCont (const mglData &id, const mglData &x, const mglData &y, const mglData &z, const char *sch="", num=7, float zVal=NAN)
C function: void mgl_tricont_xyzc (HMGL gr, const HMDT id, const HMDT x, const HMDT y, const HMDT z, const HMDT c, const char *sch, num, float zVal)
C function: void mgl_tricont_xyz (HMGL gr, const HMDT id, const HMDT x, const HMDT y, const HMDT z, const char *sch, num, float zVal)

The same as first one with vector v of num-th elements equidistantly distributed in range [Cmin, Cmax].


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