manpagez: man pages & more
info mathgl
Home | html | info | man
[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.10.11 Axial

Method on mglGraph (C++, Python): void Axial (const mglData &v, const mglData &x, const mglData &y, const mglData &z, const char *sch="")
C function: void mgl_axial_xy_val (HMGL gr, const HMDT v, const HMDT x, const HMDT y, const HMDT z, const char *sch)

The function draws surface which is result of contour plot rotation for surface specified parametrically {x[i,j], y[i,j], z[i,j]}. Contours are plotted for z[i,j]=v[k] where v[k] are values of data array v. String sch sets the color scheme. Previous color scheme is used by default. If string sch have symbol ‘#’ then wire plot is produced. If string contain symbols ‘x’, ‘y’ or ‘z’ then rotation axis AxialDir (see section Other settings) will be set to specified direction. The minor dimensions of arrays x, y, z should be equal x.nx=z.nx && y.nx=z.ny or x.nx=y.nx=z.nx && x.ny=y.ny=z.ny. Arrays x and y can be vectors (not matrices as z). Surface is plotted for each z slice of the data. See also Cont, ContF, Torus, Surf3. See section Axial sample, for sample code and picture.

Method on mglGraph (C++, Python): void Axial (const mglData &v, const mglData &z, const char *sch="")
C function: void mgl_axial_val (HMGL gr, const HMDT v, const HMDT z, const char *sch)

The same as previous with x, y equidistantly distributed in interval [Min, Max].

Method on mglGraph (C++, Python): void Axial (const mglData &x, const mglData &y, const mglData &z, const char *sch="", int num=3)
C function: void mgl_axial_xy (HMGL gr, const HMDT x, const HMDT y, const HMDT z, const char *sch, int num)

The same as first one with vector v of num-th elements equidistantly distributed in range [Cmin, Cmax].

Method on mglGraph (C++, Python): void Axial (const mglData &z, const char *sch="", int num=3)
C function: void mgl_axial (HMGL gr, const HMDT z, const char *sch, int num)

The same as previous with x, y equidistantly distributed in interval [Min, Max].


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.