• Print  |
  • Feedback  |

TEMPLATE Procedure: Plot Statements (Experimental)

Axis Options


Specifies the features of the axes.

axis-options
DISPLAY= ALL | NONE | ( display-options )

controls the display of the axis features such as the axis label, line, tick marks, and values.

Default: ALL
Requirement: The display-options must be enclosed in parentheses and separated by spaces.
ALL

specifies that the axis label, line, tick marks, and values are displayed.

NONE

specifies that no axis features are displayed.

display-options

specifies one or more display options.

LABEL

displays the axis label.

LINE

displays the axis line.

TICKS

displays the axis tick marks.

VALUES

displays the values that are represented by the tick marks.

INTEGER= boolean

specifies that evenly spaced integer values are used for tick marks.

Default: FALSE
Interaction: The INTEGER= option is overridden by the TICKS= axis option. If the variable is not continuous, then INTEGER= option is ignored.
Restriction: The INTEGER= option is ignored on the X axis for bar charts, box plots, and histograms.
LABEL= 'string'

specifies the axis label.

Default: The default is to use the label of the column associated with the axis. If the label does not exist, the column name is used as the label.

Note:   For a computed column, the default is the expression used to compute the column.

LABELFONTSIZE= dimension | style-reference

specifies the font size used to display the axis label.

Default: specified by the GraphLabelText:font_size style reference.
THRESHOLDMAX= number

specifies a threshold for displaying one more tick mark at the high end of the axis. The threshold is expressed as a decimal proportion of the tick interval, and it is measured from the potential tick value. If the largest data value lies within this threshold distance from the potential tick mark, then the tick mark is displayed.

Default: .30
Range: 0 - 1
Interaction: If the variable is not continuous, then the THRESHOLDMAX= option is ignored.
Tip: If the threshold is set to 0, the potential tick mark is never displayed. If the threshold is set to 1, the tick mark is always displayed.
Tip: Specifying THRESHOLDMIN=0 and THRESHOLDMAX=0 prevents the tick marks from extending beyond the data range.
Tip: Specifying THRESHOLDMIN=1 and THRESHOLDMAX=1 ensures that the data range is bounded by tick marks.
Tip: For the minimum axis length, set the THRESHOLDMIN= and THRESHOLDMAX= options to 0.
Main discussion: The following example shows the effect of axis thresholds and offsets. The following example uses the following values:
  • The THRESHOLDMIN= and THRESHOLDMAX= options are set to .3.

  • The offset is set to .04.

  • The range of the data is between 0.5 and 4.7.

  • Default tick marks are set at 1, 2, 3, and 4.

  • The tick interval is 1.

 Note about figure

[untitled graphic]

 Note about figure

[untitled graphic]

THRESHOLDMIN= number

specifies a threshold for displaying one more tick mark at the low end of the axis. The threshold is expressed as a decimal proportion of the tick interval, and it is measured from the potential tick value. If the lowest data value lies within this threshold distance from the potential tick mark, then the tick mark is displayed.

Default: .30
Range: 0 - 1
Interaction: If the variable is not continuous, then the THRESHOLDMIN= option is ignored.
Tip: If the threshold is set to 0, the potential tick mark is never displayed. If the threshold is set to 1, the tick mark is always displayed.
Tip: Specifying THRESHOLDMIN=0 and THRESHOLDMAX=0 prevents the tick marks from extending beyond the data range.
Tip: Specifying THRESHOLDMIN=1 and THRESHOLDMAX=1 ensures that the data range is bounded by tick marks.
Tip: For the minimum axis length, set the THRESHOLDMIN= and THRESHOLDMAX= options to 0.
Main discussion: See the THRESHOLDMAX= sub-option.
TICKDISPLAY= OUTSIDE | INSIDE | BOTH

specifies where tick marks are displayed.

OUTSIDE

displays tick marks outside of the axis lines.

INSIDE

displays tick marks inside of the axis lines.

BOTH

displays tick marks across the axis lines.

Default: OUTSIDE
Main discussion: The figure displays the effect of the TICKDISPLAY= option on the X axis.

The figure shows the tick display on an X axis.

[untitled graphic]

TICKS= ( numeric-list )

specifies the tick values for the axis.

Requirement: The numeric-list must be enclosed in parentheses and separated by spaces.
Interaction: If the variable is not continuous, then the TICKS= option is ignored.
Tip: If ticks are specified outside of the axis range, then the axis range is extended to display the ticks.
VALUEFONTSIZE= dimension | style-reference

specifies the font size used to display the tick values.

Default: specified by the GraphValueText:font_size style reference.


Previous Page | Next Page | Top of Page