AGXAxis / AGYAxis
Synopsis
AGPrimitive+AGAxisParams+AGTickXParams AGXAxis
{
AGInt labelDecimals;
AGLabelModeEnum labelMode = "normal";
AGInt labelPowerFactor;
AGFloat positionY;
AGString text = "X axis";
};
AGPrimitive+AGAxisParams+AGTickYParams AGYAxis
AGInt labelDecimals;
AGLabelModeEnum labelMode = "normal";
AGInt labelPowerFactor;
AGFloat positionX;
AGString text = "Y axis";
};Description
AGXAxis and AGYAxis define numerical axes that can connect to any of the AGworld objects.
Subobjects
Determines the number of positions to the left of the label's decimal point. The label's power factor is adjusted accordingly. The default is computed based on the limits (i.e., data range).
A string that determines which side of the axis to draw the labels. Valid strings are "normal" and "reverse". The default value is "normal".
The power to which the label values are raised. The default is computed based on the limits (i.e., data range).
The X or Y position of the axel line. AGXAxis has the positionY parameter. AGYAxis has the positionX parameter.
A text string used as a label for the axis. The default value for AGXAxis is "X axis". The default value for AGYAxis is "Y axis". The labels are based on the value of the data.
Example
Libraries.Examples.Annotation_Graphing.contour1
Libraries.Examples.Annotation_Graphing.contour2
Libraries.Examples.Annotation_Graphing.graphChar
Libraries.Examples.Annotation_Graphing.graphUI
Libraries.Examples.Annotation_Graphing.logex2
Libraries.Examples.Annotation_Graphing.simpleGraph
File
See Also Related Modules