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

9.2.1 Ranges (Python)

Method on mglGraph (Python): void SetRanges (float x1, float x2, float y1, float y2, float z1=0, float z2=0)

Sets maximal and minimal values for coordinate range (bounding box). If minimal and maximal values of the coordinate are the same then they are ignored. This function also sets Cmin=Min.z and Cmax=Max.z. This is default color range for 2d plots.

Method on mglGraph (Python): void SetCRange (float min, float max)

Sets values for color range. This values are used later for determining the color of the surface.

Method on mglGraph (Python): void XRange (mglData dat, bool add=false)

Sets values of x-range as minimal and maximal values of data a. See also Axis().

Method on mglGraph (Python): void YRange (mglData dat, bool add=false)

Sets values of y-range as minimal and maximal values of data a. See also Axis().

Method on mglGraph (Python): void ZRange (mglData dat, bool add=false)

Sets values of z-range as minimal and maximal values of data a. See also Axis().

Method on mglGraph (Python): void CRange (mglData dat, bool add=false)

Sets values of color range as minimal and maximal values of data a. See also CAxis().

Method on mglGraph (Python): void SetOrigin (float x0, float y0, float z0)

Sets center of axis cross section. If one of values is NAN then MathGL library try to select optimal axis position.


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