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

3.12.4 Surf3A

Method on mglGraph: void Surf3A (float val, const mglData &x, const mglData &y, const mglData &z, const mglData &a, const mglData &c, const char *stl=NULL)

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. It is mostly the same as Surf3() function but the transparency of isosurface depends on values of b array. This allows one to remove the part of isosurface where b is negligibly small (useful for phase plotting of a beam or a pulse). String sch sets the color scheme. Previous color scheme is used by default. If string contain ‘#’ then wire plot is produced. All dimensions of arrays z and c must be equal. 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 Surf3, SurfA, Surf3C. See section Surf3A sample, for sample code and picture.

Method on mglGraph: void Surf3A (float val, const mglData &a, const mglData &c, const char *sch=NULL)

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

Method on mglGraph: void Surf3A (const mglData &x, const mglData &y, const mglData &z, const mglData &a, const mglData &c, const char *stl=NULL, int num=3)

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

Method on mglGraph: void Surf3A (const mglData &a, const mglData &c, const char *sch=NULL, int num=3)

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


© manpagez.com 2000-2026
Individual documents may contain additional copyright information.