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

3.9.3 Tens

These functions draw continuous lines between points with color defined by the special array (look like tension plot). The plots are drawn for each row if one of the data is the matrix. By any case the sizes of 1st dimension must be equal for all arrays x.nx=y.nx=z.nx. String pen specifies the color scheme (see section Color scheme) and style and/or width of line (see section Line styles). By default (pen="") solid line with current color scheme is used. See also Plot, Mesh, Fall. See section Tens sample, for sample code and picture.

Method on mglGraph (C++, Python): void Tens (const mglData &x, const mglData &y, const mglData &z, const mglData &c, const char *pen="")
C function: void mgl_tens_xyz (HMGL gr, const HMDT x, const HMDT y, const HMDT z, const HMDT c, const char *pen)

The function draws continuous lines between points {x[i], y[i], z[i]} in 3D space with color defined by c[i].

Method on mglGraph (C++, Python): void Tens (const mglData &x, const mglData &y, const mglData &c, const char *pen="")
C function: void mgl_tens_xy (HMGL gr, const HMDT x, const HMDT y, const HMDT c, const char *pen)

The function draws continuous lines between points {x[i], y[i]} in plane z=zVal (default in plane z=Min.z) with color defined by c[i].

Method on mglGraph (C++, Python): void Tens (const mglData &y, const mglData &c, const char *pen="")
C function: void mgl_tens (HMGL gr, const HMDT y, const HMDT c, const char *pen)

The function draws continuous lines between points {x[i], y[i]} in plane z=zVal (default in plane z=Min.z) with color defined by c[i], where x[i] values are equidistantly distributed in interval [Min.x, Max.x].


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.