| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.9.12 Tube
These functions draw the tube with variable radius r[i] 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="") 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.
- Method on
mglGraph(C++, Python):voidTube (const mglData &x,const mglData &y,const mglData &z,const mglData &r,const char *pen="") - Method on
mglGraph(C++, Python):voidTube (const mglData &x,const mglData &y,const mglData &z,floatr,const char *pen="") - 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.
- Method on
mglGraph(C++, Python):voidTube (const mglData &x,const mglData &y,const mglData &r,const char *pen="") - Method on
mglGraph(C++, Python):voidTube (const mglData &x,const mglData &y,floatr,const char *pen="") - 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=zVal (default in plane z=Min.z).
- Method on
mglGraph(C++, Python):voidTube (const mglData &y,const mglData &r,const char *pen="") - Method on
mglGraph(C++, Python):voidTube (const mglData &y,floatr,const char *pen="") - 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=zVal (default in plane z=Min.z), where x[i] values are equidistantly distributed in interval [Min.x, Max.x].
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
