– Specify the Y axis as Axis Box(1).
– Specify the X axis as Axis Box(2).
Optional Named Arguments
Scale("Linear"|"Log"|"Power"|"Geodesic"|"Geodesic US"|"Custom Scale"|"Normal Probability|Weibull Probability|Frechet Probability|Logistic Probability|Exponential Probability|Gamma Probability|Beta Probability|Mixture of 2 Normals Probabilities|Mixture of 3 Normals Probabilities)
Specifies the scale of the axis. If the type is Custom Scale, this message expects two additional named arguments: Scale to Internal(expr) and Scale to External(expr).
Min(n)
Changes the minimum value on the axis.
Max(n)
Changes the maximum value on the axis.
Reverse Order(Boolean)
Reverses the axes by reversing the minimum and maximum values.
Inc(n)
Shows the numbers at the specified increments.
Set Font(font)
Specifies the quoted font that is applied to the numbers. The JMP Font preferences determine the default font.
Set Font Size(points)
Specifies the size of the font that is applied to the numbers. The JMP Font preferences determine the default font.
Set Font Style("Strikeout"|"Underline")
Specifies the quoted style that is applied to the numbers.
Automatic Font Size(Boolean)
JMP attempts to decrease the font size (down to a certain minimum) if all of the labels cannot fit at the default size. If 0, the font size is not decreased.
Automatic Tick Marks(Boolean)
Turns on tick marks only if one or more labels are hidden (due to insufficient space).
Label Orientation( "Automatic"|"Horizontal"|"Vertical"|"Perpendicular"|"Parallel"|"Angled")
Rotates the axis label. The default value is "Automatic", which is based on the width of the labels.
Lower Frame(Boolean)
Shows a frame below the labels. The default value is off.
Value Labels
Displays the label that you specify instead of the data value.
Inside Ticks(Boolean)
Shows tick marks inside or outside of the axis.
Add Ref Line({Label Row Nesting(n), begin range, <end range>, <"Solid"|"Dotted"|"Dashed"|"DashDot"|"DashDotDot">, <color>, <label>, <width(n)>, <opacity(%)>})
Defines the reference line range, line pattern, color, label, width, and opacity. A solid, black, 1-pixel line is the default setting. Label Row Nesting(n) specifies the number of nested rows on the axis. The color and label arguments are quoted.
Wrap Lines(n)
Wraps long labels across multiple lines (n)
Format(arguments)
Specifies the format of the numeric axis data. See the Format list in a numeric column’s column properties for arguments. If you specify the a datetime format, also include the Interval argument: "Numeric", "Year", "Quarter", "Month", "Week", "Day", "Hour", "Minute", or "Second".
Minor Ticks(number)
Specifies the number of minor tick marks between major tick marks.
Tick Offset(number)
Specifies the starting point of the tick marks.
Major Ticks(Boolean)
Shows or hides a major tick mark between each number.
Minor Ticks(Boolean)
Shows or hides a minor tick mark between each number.
Show Major Grid(Boolean)
Shows or hides a grid line at each major tick mark.
Show Minor Grid(Boolean)
Shows or hides a grid line at each minor tick mark.
Major Grid Line Color(color)
Sets the color for the major grid (if enabled) using the quoted color.
Minor Grid Line Color(color)
Specifies the color of the grid line at each minor tick mark.
Example
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
biv = dt << Bivariate( X( :height ), Y( :weight ), FitLine );
rbiv = biv << Report;
xaxis = rbiv[Axis Box( 2 )];
yaxis = rbiv[Axis Box( 1 )];
xaxis << Axis Settings( Show Major Grid( 1 ) );
yaxis << Axis Settings( Decimal( 10, 3 ) );
Note
Note: Major tick increments are automatically set to 1.0 if the tick labels are not specified.
Required Arguments
{text1,text2, ...}
Specifies the string titles for your labels.
Optional Arguments
i
Specifies the label row index. Leaving it out clears any existing label rows and creates one new one as specified. Including it allows you to override any particular label row; using an index higher than the current number of label rows adds a new label row on to the end.
{n1, n2, ...}