Syntax
[C/C++:]
void ggDrawAxesLabels(int nstr, char *string[ ], int val, int xory);
[F90:]
subroutine ggDrawAxesLabels(nstr, string, val, xory)
integer, intent(in) :: nstr,val,xory
character*(*), intent(in) :: string
Arguments
nstr
The number of labels to be written
string
Character array of dimension
nstr, holding the labels
val
Flag indicating on which side of the axis the annotation should be shown
|
= GCLOCKWISE |
Clockwise of axis |
|
= GANTICLOCKWISE |
Anticlockwise of axis |
xory
Flag determining the axis to be labelled and label positioning
|
= GXAXIS |
Annotation along the current X axis |
|
= GYAXIS |
Annotation along the current Y axis |
Description
The routine ggDrawAxesLabels() displays the labels in
string along the axis denoted by
xory.
If the number of tick marks on an axis is greater than the number of labels in
string, the labels are repeated. By default the labels are centred on the tick marks, and are only included if there is sufficient space. If the interval is too small for the labels, they are written at alternate tick marks or every third tick mark etc. This default output form can be changed with the routine ggSetAxesAttribs() which gives control over the position, angle, justification and other attributes of the annotation.
Axes drawn with ggDrawAxes() or ggAddGrid() should have numeric output suppressed if textual labels are required at the same position.
See Also
ggDrawAxesLabels UsageggSetAxesAttribsggDrawAxesggSetAxesPosggSetAxesScalingggAddGrid