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

9.9.2 Area (Python)

These functions draw continuous lines between points and fills it to axis plane. 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 Plot, Bars, Stem. See section Area sample, for sample code and picture.

Method on mglGraph (Python): void Area (mglData x, mglData y, mglData z, const char *pen=NULL)

The function draws continuous lines between points {x[i], y[i], z[i]} in 3D space and fills it down to z = Org.z.

Method on mglGraph (Python): void Area (mglData x, mglData y, const char *pen=NULL)

The function draws continuous lines between points {x[i], y[i]} in plane z=Min.z and fills it down to y = Org.y.

Method on mglGraph (Python): void Area (mglData y, const char *pen=NULL)

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

Method on mglGraph (Python): void AreaSum (mglData x, mglData y, const char *pen=NULL)

The function draws continuous lines between points {x[i], y[i]} in plane z=Min.z and fills it down to y = Org.y. The lines are drawn one abover another (like summation). Note, you can reach the same effect if call y.CumSum("y"); before Area plot.


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