| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.13.4 VectC
These functions are obsolete – use Vect() functions instead.
- Method on
mglGraph(C++, Python):voidVectC (const mglData &x,const mglData &y,const mglData &ax,const mglData &ay,const char *sch="",floatzVal=NAN) - C function:
voidmgl_vectc_xy (HMGLgr,const HMDTx,const HMDTy,const HMDTax,const HMDTay,const char *sch,floatzVal) The function draws plane vector field plot for the field {ax, ay} depending parametrically on coordinates x, y at level z=zVal. The color of hachures is proportional to \sqrtax^2+ay^2. The number of hachures depend on MeshNum (see section Other settings). Points are denote the start of hachures. The color is specified by the string argument sch. Previous color scheme is used by default. The size of ax and ay must be equal. The minor dimensions of arrays x, y and ax must be equal too. Arrays x and y can be vectors (not matrices as ax). The vector field is plotted for each z slice of ax, ay. See also Vect, VectL, Flow, Dew. See section VectC sample, for sample code and picture.
- Method on
mglGraph(C++, Python):voidVectC (const mglData &ax,const mglData &ay,const char *sch="",floatzVal=NAN) - C function:
voidmgl_vectc_2d (HMGLgr,const HMDTax,const HMDTay,const char *sch,floatzVal) The same as previous with x, y equidistantly distributed in interval [Min, Max].
- Method on
mglGraph(C++, Python):voidVectC (const mglData &x,const mglData &y,const mglData &z,const mglData &ax,const mglData &ay,const mglData &az,const char *sch="") - C function:
voidmgl_vectc_xyz (HMGLgr,const HMDTx,const HMDTy,const HMDTz,const HMDTax,const HMDTay,const HMDTaz,const char *sch) This is 3D version of the first functions. Here arrays ax, ay, az must be 3-ranged tensors with equal sizes and the color of hachures is proportional to \sqrtax^2+ay^2+az^2. See section VectC 3D sample, for sample code and picture.
- Method on
mglGraph(C++, Python):voidVectC (const mglData &ax,const mglData &ay,const mglData &az,const char *sch="") - C function:
voidmgl_vectc_3d (HMGLgr,const HMDTax,const HMDTay,const HMDTaz,const char *sch) The same as previous with x, y equidistantly distributed in interval [Min, Max].
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
