| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.14.6 TriPlot
- Method on mglGraph:
voidTriPlot (const mglData &id,const mglData &x,const mglData &y,const mglData &z,const char *sch=NULL) 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. See also Dots, Crust.
- Method on mglGraph:
voidTriPlot (const mglData &id,const mglData &x,const mglData &y,const char *sch=NULL,floatzVal=NAN) The same as previous with z[i]=zVal.
