| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
9.9.13 Tube (Python)
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=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.
- Method on mglGraph (Python):
voidTube (mglDatax,mglDatay,mglDataz,mglDatar,const char *pen=NULL) - Method on mglGraph (Python):
voidTube (mglDatax,mglDatay,mglDataz,floatr,const char *pen=NULL) The function draws tube with radius r between points {x[i], y[i], z[i]} in 3D space.
- Method on mglGraph (Python):
voidTube (mglDatax,mglDatay,mglDatar,const char *pen=NULL) - Method on mglGraph (Python):
voidTube (mglDatax,mglDatay,floatr,const char *pen=NULL) The function draws tube with radius r between points {x[i], y[i]} in plane z=Min.z.
- Method on mglGraph (Python):
voidTube (mglDatay,mglDatar,const char *pen=NULL) - Method on mglGraph (Python):
voidTube (mglDatay,floatr,const char *pen=NULL) 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].
