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

8.16.6 TriPlot (Pure C)

C function: void mgl_triplot_xyz (HMGL gr, const HMDT id, const HMDT x, const HMDT y, const HMDT z, 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 (see section 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().

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.


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