| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
8.11.4 Bars (Pure C)
These functions draw vertical bars from points 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 Barh(), Area(), Stem(), Chart(). See section Bars sample, for sample code and picture.
- C function:
voidmgl_bars_xyz (HMGLgr,const HMDTx,const HMDTy,const HMDTz,const char *pen=NULL) The function draws vertical bars from points {x[i], y[i], z[i]} down to z = Org.z.
- C function:
voidmgl_bars_xy (HMGLgr,const HMDTx,const HMDTy,const char *pen=NULL,floatzVal=NAN) The function draws vertical bars from points {x[i], y[i]} down to y = Org.y in plane z=zVal (default in plane z=Min.z).
- C function:
voidmgl_bars (HMGLgr,const HMDTy,const char *pen=NULL,floatzVal=NAN) The function draws vertical bars from points {x[i], y[i]} down to y = Org.y in plane z=zVal (default in plane z=Min.z), where x[i] values are equidistantly distributed in interval [Min.x, Max.x].
