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

3.10.9 ContF

Method on mglGraph (C++, Python): void ContF (const mglData &v, const mglData &x, const mglData &y, const mglData &z, const char *sch="", float zVal=NAN)
C function: void mgl_contf_xy_val (HMGL gr, const HMDT v, const HMDT x, const HMDT y, const HMDT z, const char *sch, float zVal)

The function draws solid (or filled) contour lines for surface specified parametrically {x[i,j], y[i,j], z[i,j]} at z = zVal (or for z=v[k] if zVal==NAN). Contours are plotted for z[i,j]=v[k] where v[k] are values of data array v (must be v.nx>2). String sch sets the color scheme. Previous color scheme is used by default. If string sch have symbol ‘#’ then grid lines are drawn. 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 Dens, Cont, Axial, ContFXYZ. See section ContF sample, for sample code and picture.

Method on mglGraph (C++, Python): void ContF (const mglData &v, const mglData &z, const char *sch="", float zVal=NAN)
C function: void mgl_contf_val (HMGL gr, const HMDT v, const HMDT z, const char *sch, float zVal)

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

Method on mglGraph (C++, Python): void ContF (const mglData &x, const mglData &y, const mglData &z, const char *sch="", int num=7, float zVal=NAN)
C function: void mgl_contf_xy (HMGL gr, const HMDT x, const HMDT y, const HMDT z, const char *sch, int num, float zVal)

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

Method on mglGraph (C++, Python): void ContF (const mglData &z, const char *sch="", int num=7, float zVal=NAN)
C function: void mgl_contf (HMGL gr, const HMDT z, const char *sch, int num, float zVal)

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.