Syntax
[C/C++:]
void ggAddGraphValues(int npts, GPOINT *points, int xory);
[F90:]
subroutine ggAddGraphValues(npts, points, xory)
integer, intent(in) :: npts, xory
type(GPOINT), intent(in) :: points(*)
Arguments
npts
The number of points to be annotated
points
Array of dimension
npts, giving the X and Y axis values of the points defined on the graph
xory
Flag determining whether X or Y values are output
|
= GXAXIS |
X values are output |
|
= GYAXIS |
Y values are output |
Description
The routine ggAddGraphValues() displays the values held in either the
points.x or
points.y components, depending on the value of
xory.
The most recent call to ggSetValueAttribs() determines the angle, justification, offset, and the position of the annotation about the data points, the default being centrally over the point being annotated. ggSetValueAttribs() offers 16 different positions about each data point for the output.
The format of the numerical output is determined by the settings for the appropriate axis annotation set by the most recent call to ggSetAxesAnnotation(). Prefix and suffix strings defined by the most recent call to ggSetValueTags() are output either side of the numerical output.
Graphs drawn by the routine ggAddGraphValues() can be affected by the current missing value mode as set by the routine ggDefineMissingValues().
See Also
ggAddGraphValues UsageggDefineMissingValuesggSetAxesAnnotationggSetValueAttribsggSetValueTags