| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.14.6 TriPlot
- Method on
mglGraph(C++, Python):voidTriPlot (const mglData &id,const mglData &x,const mglData &y,const mglData &z,const mglData &c,const char *sch="") - Method on
mglGraph(C++, Python):voidTriPlot (const mglData &id,const mglData &x,const mglData &y,const mglData &z,const char *sch="") - C function:
voidmgl_triplot_xyz (HMGLgr,const HMDTid,const HMDTx,const HMDTy,const HMDTz,const char *sch) - C function:
voidmgl_triplot_xyzc (HMGLgr,const HMDTid,const HMDTx,const HMDTy,const HMDTz,const HMDTc,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):voidTriPlot (const mglData &id,const mglData &x,const mglData &y,const char *sch="",floatzVal=NAN) - C function:
voidmgl_triplot_xy (HMGLgr,const HMDTid,const HMDTx,const HMDTy,const char *sch,floatzVal) The same as previous with z[i]=zVal.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
