GINO Graphics Suite - GINOGRAF v9.5  

ggEnqAxesScaling

Syntax

[C/C++:]
void ggEnqAxesScaling(int *scale, int *nints, float *vbeg, float *vend, int xory);
[F90:]
subroutine ggEnqAxesScaling(scale, nints, vbeg, vend, xory)

integer, intent(out) :: scale, nints
real, intent(out) :: vbeg, vend
integer, intent(in) :: xory

Arguments

scale
The current type of scaling for requested axis. Type of scaling is as set by previous calls to ggSetAxesScaling() or ggSetPolarChartAttribs()

nints
The current number of intervals on the requested axis. For scale type GLINEARTYPE1, this may not be the same as set in ggSetAxesScaling() or ggDrawPolarAxes(). For log scaling, nints is returned as zero

vbeg
Real value giving the initial data value of the range on the axis requested. The value may be rounded down from that specified by the previous call to ggSetAxesScaling() or ggDrawPolarAxes()

vend
Real number specifying the end of the range on the axis requested. The value may be rounded up from that specified by the previous call to ggSetAxesScaling() or ggDrawPolarAxes()

xory
Flag determining which scaling characteristics are returned

= GXAXIS Parameters returned for X axis
= GYAXIS Parameters returned for Y axis

Description

The routine ggEnqAxesScaling() returns the scaling parameters of either the X or Y axis as they will be or have been displayed by the axes drawing routines (ggDrawAxes() or ggDrawPolarAxes()). The returned arguments may not be exactly as specified, as for certain scale types the number of intervals and the range is adjusted to give more sensible output.

See Also

ggEnqAxesScaling Usage
ggSetAxesScaling
ggSetPolarChartAttribs
ggDrawPolarAxes