| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.9.2 Area
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:
voidArea (const mglData &x,const mglData &y,const 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:
voidArea (const mglData &x,const mglData &y,const char *pen=NULL,boolsum=false,floatzVal=NAN) The function draws continuous lines between points {x[i], y[i]} in plane z=zVal (default in plane z=Min.z) and fills it down to y = Org.y. Parameter sum set to draw a lines one above another (like summation). Note, you can reach the same effect if call
y.CumSum("y");before plot.
- Method on mglGraph:
voidArea (const mglData &y,const char *pen=NULL,boolsum=false,floatzVal=NAN) The function draws continuous lines between points {x[i], y[i]} in plane z=zVal (default 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]. Parameter sum set to draw a lines one above another (like summation). Note, you can reach the same effect if call
y.CumSum("y");before plot.
- Method on mglGraph:
voidArea2 (const mglData &a,const char *pen=NULL,floatzVal=NAN) The function draws continuous lines between points {x[i], y[i]} in plane z=zVal (default in plane z=Min.z) and fills it down to y = Org.y, where x=a(2*k,:), y=a(2*k+1,:), k \in 0 ... a.ny/2. This function is obsolete – use Area() and SubData() functions instead.
- Method on mglGraph:
voidArea3 (const mglData &a,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, where x=a(3*k,:), y=a(3*k+1,:), z=a(3*k+2,:), k \in 0 ... a.ny/3. This function is obsolete – use Area() and SubData() functions instead.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
