| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.2.1 Ranges (bounding box)
- Method on mglGraph:
voidAxis (mglPointmin,mglPointmax,mglPointorg=mglPoint(NAN,NAN,NAN)) Safely sets the value for Min, Max and Org members (options) of the class. If minimal and maximal values of the coordinate are the same then they are ignored. This function also sets Cmin=
Min.zand Cmax=Max.z. This is default color range for 2d plots.
- Method on mglGraph:
voidCAxis (floatmin,floatmax) Safely sets the values of Cmin and Cmax. This values are used later for determining the color of the surface.
- Method on mglGraph:
voidXRange (const mglData &dat,booladd=false,floatfact=0) Sets values of
Min.xandMax.xas minimal and maximal values of data a. Parameter fact add additional range increase on value (Max-Min)*fact. See also Axis().
- Method on mglGraph:
voidYRange (const mglData &dat,booladd=false,floatfact=0) Sets values of
Min.yandMax.yas minimal and maximal values of data a. Parameter fact add additional range increase on value (Max-Min)*fact. See also Axis().
- Method on mglGraph:
voidZRange (const mglData &dat,booladd=false,floatfact=0) Sets values of
Min.zandMax.zas minimal and maximal values of data a. Parameter fact add additional range increase on value (Max-Min)*fact. See also Axis().
- Method on mglGraph:
voidCRange (const mglData &dat,booladd=false,floatfact=0) Sets values of
CminandCmaxas minimal and maximal values of data a. Parameter fact add additional range increase on value (Cmax-Cmin)*fact. See also CAxis().
- Method on mglGraph:
voidRecalcBorder () Recalculates internal parameter for correct apply of transformation rules. Must be called after any direct change of members Min, Max, fx, fy, fz if its changes should be seen on the plot.
- General option of mglGraph:
mglPointMin, Max Lower and upper edges of bounding box for graphics. These variables are used for determining the range of automatic (non-specified) arrays in most of plotting functions. So, you may change it before plot and return it back after it and the plot will have automatic x-(y-,z-)coordinate normalized in this range but not in bounding box. BUT if you want to change the bounding box then you must call
RecalcBorder();after it or use Axis() function.
- General option of mglGraph:
floatCmin, Cmax Minimal and maximal value for data (used for coloring).
- General option of mglGraph:
mglPointOrg Center of axis cross section. If one of values is NAN then MathGL library try to select optimal axis position.
- General option of mglGraph:
boolAutoOrg Flag for automatic shifting of axes origin Org if it lies out of range Min ... Max.
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
