[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.10.10 ContD
- Method on
mglGraph
(C++, Python):void
ContD (const mglData &
v,const mglData &
x,const mglData &
y,const mglData &
z,const char *
sch=""
,float
zVal=NAN
) - C function:
void
mgl_contd_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
) with manual colors. Contours are plotted for z[i,j]=v[k] where v[k] are values of data array v (must bev.nx>2
). String sch sets the contour colors: the color of k-th contour is determined by charactersch[k%strlen(sch)]
. The minor dimensions of arrays x, y, z should be equalx.nx=z.nx && y.nx=z.ny
orx.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, ContF. See section ContD sample, for sample code and picture.
- Method on
mglGraph
(C++, Python):void
ContD (const mglData &
v,const mglData &
z,const char *
sch=""
,float
zVal=NAN
) - C function:
void
mgl_contd_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
ContD (const mglData &
x,const mglData &
y,const mglData &
z,const char *
sch=""
,int
num=7
,float
zVal=NAN
) - C function:
void
mgl_contd_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
ContD (const mglData &
z,const char *
sch=""
,int
num=7
,float
zVal=NAN
) - C function:
void
mgl_contd (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] | [ ? ] |