| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
8.11.13 Tube (Pure C)
These functions draw the tube with variable radius r along the curve between points {x[i], y[i], z[i]}. 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=r.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(). See section Tube sample, for sample code and picture.
- C function:
voidmgl_tube_xyzr (HMGLgr,const HMDTx,const HMDTy,const HMDTz,const HMDTr,const char *pen) - C function:
voidmgl_tube_xyz (HMGLgr,const HMDTx,const HMDTy,const HMDTz,floatr,const char *pen) The function draws tube with radius r between points {x[i], y[i], z[i]} in 3D space.
- C function:
voidmgl_tube_xyr (HMGLgr,const HMDTx,const HMDTy,const HMDTr,const char *pen) - C function:
voidmgl_tube_xy (HMGLgr,const HMDTx,const HMDTy,floatr,const char *pen) The function draws tube with radius r between points {x[i], y[i]} in plane z=Min.z.
- C function:
voidmgl_tube_r (HMGLgr,const HMDTy,const HMDTr,const char *pen) - C function:
voidmgl_tube (HMGLgr,const HMDTy,floatr,const char *pen) The function draws tube with radius r between points {x[i], y[i]} in plane z=Min.z, where x[i] values are equidistantly distributed in interval [Min.x, Max.x].
