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

3.11.1 Surf3

Method on mglGraph (C++, Python): void Surf3 (float val, const mglData &x, const mglData &y, const mglData &z, const mglData &a, const char *stl="")
C function: void mgl_surf3_xyz_val (HMGL gr, float val, const HMDT x, const HMDT y, const HMDT z, const HMDT a, const char *stl)

The function draws isosurface plot for 3d array specified parametrically a[i,j,k](x[i,j,k], y[i,j,k], z[i,j,k]) at a(x,y,z)=val. String sch sets the color scheme. Previous color scheme is used by default. If string contain ‘#’ then wire plot is produced. Arrays x, y, z can be vectors (not 3d arrays as a). Note, that there is possibility of incorrect plotting due to uncertainty of cross-section defining if there are two or more isosurface intersections inside one cell. See also Cloud, Dens3, Surf3C, Surf3A, Axial. See section Surf3 sample, for sample code and picture.

Method on mglGraph (C++, Python): void Surf3 (float val, const mglData &a, const char *sch="")
C function: void mgl_surf3_val (HMGL gr, float val, const HMDT a, const char *sch)

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

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

Draws num-th uniformly distributed in range [Cmin, Cmax] isosurfaces for 3d data specified parametrically.

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

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


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