[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.14.6 TriPlot
- Method on
mglGraph
(C++, Python):void
TriPlot (const mglData &
id,const mglData &
x,const mglData &
y,const mglData &
z,const mglData &
c,const char *
sch=""
) - Method on
mglGraph
(C++, Python):void
TriPlot (const mglData &
id,const mglData &
x,const mglData &
y,const mglData &
z,const char *
sch=""
) - C function:
void
mgl_triplot_xyz (HMGL
gr,const HMDT
id,const HMDT
x,const HMDT
y,const HMDT
z,const char *
sch) - C function:
void
mgl_triplot_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 triangles. Triangle 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 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 Dots, Crust, QuadPlot.
- Method on
mglGraph
(C++, Python):void
TriPlot (const mglData &
id,const mglData &
x,const mglData &
y,const char *
sch=""
,float
zVal=NAN
) - C function:
void
mgl_triplot_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] | [ ? ] |