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

9.14.6 TriPlot (Python)

Method on mglGraph (Python): void TriPlot (mglData id, mglData x, mglData y, 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 (Python): void TriPlot (mglData id, mglData x, mglData y, const char *sch=NULL, float zVal=NAN)

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


© manpagez.com 2000-2026
Individual documents may contain additional copyright information.