GINO Graphics Suite - GINOGRAF v9.5  

ggAddPopulationGraph

Syntax

[C/C++:]
void ggAddPopulationGraph(float dx, float y, int npts, GPOINT *points, float popmax);
[F90:]
subroutine ggAddPopulationGraph(dx, y, npts, points, popmax)

real,                  intent(in) :: dx, y, popmax
integer,             intent(in) :: npts
type(GPOINT), intent(in) :: points(*)

Arguments

dx
Population sample interval

y
Population

npts
The number of points to be plotted

points
Array of dimension npts, giving the sample point and population counts to be defined on the graph

popmax
Maximum population

Description

The routine ggAddPopulationGraph() draws a double line population graph on the currently specified set of axes, one of which should be of a discrete scaling type using ggSetAxesScaling(). The graph represents a single set of population sample data (y) on the discrete axis which has a regular recording interval dx along the non-discrete axis.

The data suppled in the array points consist of a set of population recordings points.y at the specified sample point points.x. Missing recordings in the points array are represented by gaps in the double line graph.

The value popmax is supplied to control the scaling of the graph such that the range 0.0 - popmax lies between two points of the discrete axis (y).

See Also

ggAddPopulationGraph Usage
ggSetAxesScaling