| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
8.4.1 Ranges (bounding box) (Pure C)
- C function:
voidmgl_set_axis_2d (HMGLgr,floatx1,floaty1,floatx2,floaty2) - C function:
voidmgl_set_axis_3d (HMGLgr,floatx1,floaty1,floatz1,floatx2,floaty2,floatz2) Sets maximal and minimal values for coordinate range (bounding box). If minimal and maximal values of the coordinate are the same or a variable is absent in the list of arguments then they are ignored. This function also sets Cmin=z1 and Cmax=z2. This is default color range for 2d plots.
- C function:
voidmgl_set_caxis (HMGLgr,floatc1,floatc2) Sets values for color range. This values are used later for determining the color of the surface.
- C function:
voidmgl_set_xrange (HMGLgr,const HMDTa,intadd) Sets values of x-range as minimal and maximal values of data a. See also mgl_set_axis().
- C function:
voidmgl_set_yrange (HMGLgr,const HMDTa,intadd) Sets values of y-range as minimal and maximal values of data a. See also mgl_set_axis().
- C function:
voidmgl_set_zrange (HMGLgr,const HMDTa,intadd) Sets values of z-range as minimal and maximal values of data a. See also mgl_set_axis().
- C function:
voidmgl_set_crange (HMGLgr,const HMDTa,intadd) Sets values of color range as minimal and maximal values of data a. See also mgl_set_caxis().
- C function:
voidmgl_set_origin (HMGLgr,floatx0,floaty0,floatz0) Sets center of axis cross section. If one of values is NAN then MathGL library try to select optimal axis position.
