[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.12.1 SurfC
- Method on
mglGraph
(C++, Python):void
SurfC (const mglData &
x,const mglData &
y,const mglData &
z,const mglData &
c,const char *
sch=""
) - C function:
void
mgl_surfc_xy (HMGL
gr,const HMDT
x,const HMDT
y,const HMDT
z,const HMDT
c,const char *
sch) The function draws surface specified parametrically {x[i,j], y[i,j], z[i,j]} and color it by matrix c[i,j]. String sch sets the color scheme. Previous color scheme is used by default. If string sch have symbol ‘#’ then grid lines are drawn. All dimensions of arrays z and c must be equal. The minor dimensions of arrays x, y, z should be equal
x.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 Surf, SurfA, Surf3C. See section SurfC sample, for sample code and picture.
- Method on
mglGraph
(C++, Python):void
SurfC (const mglData &
z,const mglData &
c,const char *
sch=""
) - C function:
void
mgl_surfc (HMGL
gr,const HMDT
z,const HMDT
c,const char *
sch) The same as previous with x, y equidistantly distributed in interval [Min, Max].
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |