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

3.12.6 Map

Method on mglGraph (C++, Python): void Map (const mglData &x, const mglData &y, const mglData &ax, const mglData &ay, const char *sch="", int ks=0, bool pnts=true)
C function: void mgl_map_xy (HMGL gr, const HMDT x, const HMDT y, const HMDT ax, const HMDT ay, const char *sch, int ks, int pnts)

The function draws mapping plot for matrices {ax, ay } which parametrically depend on coordinates x, y. The initial position of the cell (point) is marked by color. Height is proportional to Jacobian(ax,ay). This plot is like Arnold diagram ???. If pnts=false then face is drawn otherwise the color ball at matrix knots are drawn. Parameter ks specifies the slice of matrices which will be used. String sch sets the color scheme. Previous color scheme is used by default. The size of ax and ay must be the same. The minor dimensions of arrays x, y, ax should be equal. Arrays x, y can be vectors (not matrix as ax). See section Color scheme. See section Map sample, for sample code and picture.

Method on mglGraph (C++, Python): void Map (const mglData &ax, const mglData &ay, const char *sch="", int ks=0, bool pnts=true)
C function: void mgl_map (HMGL gr, const HMDT ax, const HMDT ay, const char *sch, int ks, int pnts)

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.