Syntax
[C/C++:]
void ggDrawPolarAxes(int tick1, int tick2, int val, int nintp, float vendp, int rorth);
[F90:]
subroutine ggDrawPolarAxes(tick1, tick2, val, nintp, vendp, rorth)
integer, intent(in) :: tick1, tick2, val, nintp, rorth
real, intent(in) :: vendp
Arguments
tick1
Flag determining the way in which tick marks are to be drawn on the axis.
|
= GNONE |
No tick marks drawn (for THETA axis, the axis is also omitted) |
|
= GCARDINAL |
Tick marks drawn at the defined nintp intervals |
|
= GINTERMEDIATE |
Tick marks drawn at the defined nintp intervals and at intermediate positions |
tick2
The way in which tickmarks are to be drawn
|
= GTICKSANDRADII |
Tick marks and radii (THETA axis) |
|
= GTICKSANDCIRCLES |
Tick marks and circles axis) |
val
Flag determining whether annotation is drawn
|
= GNOANNOTATION |
No annotation |
|
= GANNATATION |
Annotation drawn |
nintp
The number of intervals for the tick marks. If
tick2 = GTICKSANDRADII or GTICKSANDCIRCLES,
nintp specifies the number of circles axis) or radii (THETA axis).
vendp
Value specifying the end of the range to be included on the axis;
vendp is specified in current units for the R axis radius and in degrees for the THETA axis.
rorth
Number whether ggDrawPolarAxes() refers to the R or THETA axis.
|
= GRAXIS |
The R axis is drawn |
|
= GTHETAAXIS |
The THETA axis is drawn |
Description
The routine ggDrawPolarAxes() draws the
rorth polar axis defined by ggSetPolarChartAttribs() or the default axis if this routine has not been called.
The numeric annotation is displayed on the zero THETA axis in the same form as normal axes and around the maximum R limit in integer degrees. ggDrawPolarAxes() alters the settings of ggSetAxesPos() and ggSetAxesScaling() and therefore these should be reset if a normal graph is required after ggDrawPolarAxes() is used.
Axis annotation attributes, such as format, positioning, start and skip values, angled, justified, and reduced text, may be set using the routines ggSetAxesAnnotation() and/or  ggSetAxesAttribs().
When selecting tick marks and radii/circles,
tick2 may be set to GTICKSANDRADII or GTICKSANDCIRCLES as these two options are equivalent to each other. Whether ticks are drawn with radii or circles is decided by the value of
rorth.
See Also
ggDrawPolarAxes UsageggSetAxesAnnotationggSetAxesAttribsggSetPolarChartAttribs