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

3.14.8 QuadPlot

Method on mglGraph (C++, Python): void QuadPlot (const mglData &id, const mglData &x, const mglData &y, const mglData &z, const mglData &c, const char *sch="")
Method on mglGraph (C++, Python): void QuadPlot (const mglData &id, const mglData &x, const mglData &y, const mglData &z, const char *sch="")
C function: void mgl_quadplot_xyz (HMGL gr, const HMDT id, const HMDT x, const HMDT y, const HMDT z, const char *sch)
C function: void mgl_quadplot_xyzc (HMGL gr, const HMDT id, const HMDT x, const HMDT y, const HMDT z, const HMDT c, const char *sch)

The function draws the surface of quadrangles. Quadrangles vertexes are set by indexes id of data points {x[i], y[i], z[i]}. String sch sets the color scheme. Previous color scheme is used by default. If string contain ‘#’ then wire plot is produced. First dimensions of id must be 4 or greater. Arrays x, y, z must have equal sizes. Parameter c set the colors of quadrangles (if id.ny=c.nx) or colors of vertexes (if x.nx=c.nx). See also TriPlot.

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

The same as previous with z[i]=zVal.


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