| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.13.7 FlowP
- Method on
mglGraph(C++):voidFlowP (mglPointp0,const mglData &x,const mglData &y,const mglData &ax,const mglData &ay,const char *sch="") - Method on
mglGraph(Python):voidFlowP (floatx0,floaty0,floatz0,const mglData &x,const mglData &y,const mglData &ax,const mglData &ay,const char *sch="") - C function:
voidmgl_flowp_xy (HMGLgr,floatx0,floaty0,floatz0,const HMDTx,const HMDTy,const HMDTax,const HMDTay,const char *sch) The function draws flow thread for the plane vector field {ax, ay} parametrically depending on coordinates x, y from point p0 at level z = p0.z. The color of lines is proportional to \sqrtax^2+ay^2. Warm color corresponds to normal flow (like attractor). Cold one corresponds to inverse flow (like source). String sch sets the color scheme. 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 Pipe, VectC, Vect.
- Method on
mglGraph(C++):voidFlowP (mglPointp0,const mglData &ax,const mglData &ay,const char *sch="") - Method on
mglGraph(Python):voidFlowP (floatx0,floaty0,floatz0,const mglData &ax,const mglData &ay,const char *sch="") - C function:
voidmgl_flowp_2d (HMGLgr,floatx0,floaty0,floatz0,const HMDTax,const HMDTay,const char *sch) The same as previous with x, y equidistantly distributed in interval [Min, Max].
- Method on
mglGraph(C++):voidFlowP (mglPointp0,const mglData &x,const mglData &y,const mglData &z,const mglData &ax,const mglData &ay,const mglData &az,const char *sch="") - Method on
mglGraph(Python):voidFlowP (floatx0,floaty0,floatz0,const mglData &x,const mglData &y,const mglData &z,const mglData &ax,const mglData &ay,const mglData &az,const char *sch="") - C function:
voidmgl_flowp_xyz (HMGLgr,floatx0,floaty0,floatz0,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 line is proportional to \sqrtax^2+ay^2+az^2. See section Flow 3D sample, for sample code and picture.
- Method on
mglGraph(C++):voidFlowP (mglPointp0,const mglData &ax,const mglData &ay,const mglData &az,const char *sch="") - Method on
mglGraph(Python):voidFlowP (floatx0,floaty0,floatz0,const mglData &ax,const mglData &ay,const mglData &az,const char *sch="") - C function:
voidmgl_flowp_3d (HMGLgr,floatx0,floaty0,floatz0,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] | [ ? ] |
