About Advanced Axis Properties

From the Axes tab of the Cell Properties dialog box, you can change the axis type and specify a custom range for the axis. For a linear axis, you can specify the tick sequence start, end, and increment values. You can also reverse the axis.
Advanced Axis Properties
Advanced Axis Properties
For instructions about changing axis properties, see Change Axis Properties .
Here are the fields on this tab:
Type
Within any given layout in the graph, each plot axis is of a particular type. By default, the axis type is linear or discrete. The data for discrete axes can be character or numeric. Here are the available types:
  • Discrete: The axis contains independent data values rather than a range of numeric values. Each distinct value is represented by a tick mark. Discrete is the default axis type for character data. Some plots require a discrete axis. For example, bar charts use a discrete axis for the category variable.
  • Linear: The axis contains a linear range of numeric values. Linear is the default axis type for numeric data. Some plots require a linear axis. For example, bar charts use a linear axis for the response variable.
  • Logarithmic: The axis contains a logarithmic range of values. The logarithmic axis type is not used as a default.
    You might want a logarithmic axis type depending on the nature of the data. For example, suppose that you plot your growth data with a linear axis and, based on the values, you suspect that the growth rate is exponential. If the data contains a very large range of values (orders of magnitude apart), you can display the values on a logarithmic scale. You can choose a logarithmic scale with base 10 or base 2.
    Note: The data range on a log axis must be positive. In addition, needle plots, which have an implicit baseline equal to zero, cannot have a logarithmic axis.
  • Time: The axis contains a range of date, time, or date-time values. Time is the default axis type for data that uses a SAS date, time, or date-time format.
You can change the default axis type if the Type list box is available. For example, if you create a scatter plot based on numeric data, you can change the X axis from linear to discrete. A bar chart, however, uses a discrete axis for the category (X) axis and a linear axis for the response (Y) axis. Neither of these axis types can be changed and, accordingly, the Type list box is dimmed.
Custom Axis Range
This feature applies to axes of a linear or logarithmic type. By default, the axis range is determined by the data. If the check box is enabled, you can adjust the view of an axis by specifying minimum and maximum data values to include in the display.
When you select the check box, you can enter integer values, including negative values, in the Min and Max boxes.
For example, the following scatter plot shows the distribution of weight by age. By default, the Y axis ranges from 60 to 140 pounds.
Scatter plot with default axis range
If you want to focus on students above 100 pounds, you could enter 100 in the Min text box. This change yields the following plot:
Scatter plot with modified axis range
The value specified for the Min text box is greater than the data minimum value. This setting acts like a “zoom in” operation, reducing the range of values represented on the axis and possibly excluding markers, lines, or fills that would normally appear. You could further zoom in by setting the Max value to be less than the data maximum value.
Conversely, if you specify a Min value that is less than the data minimum value (for example, 30), you achieve a “zoom out” effect. You can further zoom out by setting the Max value to be greater than the data maximum value. This change yields the following plot:
Scatter plot with modified axis range
Tick Sequence
Select the check box to specify the tick values for a linear axis by start, end, and increment. The following three settings control the major tick values.
Start
specifies the value for the first tick mark.
End
specifies the value for the last tick mark.
Inc
specifies the increment for intermediate tick marks between the first and last tick marks. The end value always controls the last tick mark. The interval between the last tick mark and the previous tick mark might not necessarily be the increment value.
Reverse
Select this check box to reverse the axis.