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

8.11.1 Plot (Pure C)

These functions draw continuous lines between points. 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 and style of line and marks (see section Line styles). By default (pen=NULL) solid line with color from palette is used (see section Pallete and colors). See also Area(), Step(), Stem, Tube(), Mark(), Error(), Belt(). See section Plot sample, for sample code and picture.

C function: void mgl_plot_xyz (HMGL gr, const HMDT x, const HMDT y, const HMDT z, const char *pen)

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

C function: void mgl_plot_xy (HMGL gr, const HMDT x, const HMDT y, const char *pen)

The function draws continuous lines between points {x[i], y[i]} in plane z=Min.z.

C function: void mgl_plot (HMGL gr, const HMDT y, const char *pen)

The function draws continuous lines between points {x[i], y[i]} in plane z=Min.z, where x[i] values are equidistantly distributed in interval [Min.x, Max.x].


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