GINO Graphics Suite - GINOGRAF v9.5  

ggSetVectorLimits

Syntax

[C/C++:]
void ggSetVectorLimits(float smin, float smax);
[F90:]
subroutine ggSetVectorLimits(smin, smax)
real, intent(in) :: smin, smax

Arguments

smin
Minimum absolute strength of vector that may be displayed using ggAddVectors()

smax
Maximum absolute strength of vector that may be displayed using ggAddVectors()

Description

The routine ggSetVectorLimits() defines the minimum and maximum absolute vector strength that may be drawn by subsequent calls to ggAddVectors(). Any absolute value of vector strength outside the range of smin to smax are not drawn.

If smin > smax the two values are inter-changed.

If smin and smax are both set to equal values then clipping is switched off and all vectors with strength not equal to zero are drawn. The routine ggRestoreVectorSettings() also switches clipping off.

See Also

ggSetVectorLimits Usage
ggAddVectors
ggRestoreVectorSettings