Contents 
 
Launch Windows
The launch window is your point of entry into a platform. Table 9.1 describes three panels that all launch windows have in common.
 
Table 9.1 Launch Window Panels 
Select Columns
Lists all of the variables in your current data table. Note the following:
• Right-click on a column name to change the modeling type.
• Filter the columns using the options in the red triangle menu. See Columns Filter Menu.
Cast Selected Columns into Roles
Moves selected columns into roles (such as Y, X, and so on.) You cast a column into the role of a variable (like an actor is cast into a role). See Cast Selected Columns into Roles Buttons.
This panel does not exist in the Graph Builder platform.
Action
OK
performs the analysis.
Cancel
stops the analysis and quits the launch window.
Remove
deletes any selected variables from a role.
Recall
populates the launch window with the last analysis that you performed.
Help
takes you to the Help for the launch window.
Cast Selected Columns into Roles Buttons
Table 9.2 describes buttons that appear frequently throughout launch windows. Buttons that are specific to certain platforms are described in the chapter for the specific platform.
Table 9.2 Descriptions of Role Buttons 
Y
Identifies a column as a response or dependent variable whose distribution is to be studied.
X
Identifies a column as an independent, classification, or explanatory variable that predicts the distribution of the Y variable.
Weight
Identifies the data table column whose variables assign weight (such as importance or influence) to the data.
Freq
Identifies the data table column whose values assign a frequency to each row. This option is useful when a frequency is assigned to each row in summarized data.
By
Identifies a column that creates a report consisting of separate analyses for each level of the variable.
Columns Filter Menu
A Column Filter menu appears in most of the launch windows. The Column Filter menu is a red triangle within the Select Columns panel. Use these options to sort columns, show or hide columns, or search columns.
Figure 9.2 The Columns Filter Menu
 
Reset
Resets the columns to its original list.
Sort by Name
Sorts the columns in alphabetical order by name.
Continuous
Shows or hides columns whose modeling type is continuous.
Ordinal
Shows or hides columns whose modeling type is ordinal.
Nominal
Shows or hides columns whose modeling type is nominal.
Numeric
Shows or hides columns whose data type is numeric.
Character
Shows or hides columns whose data type is character.
Match case
(Only applicable to the Name options below) Makes your search case-sensitive.
Name Contains
Searches for column names containing specified text. To remove the text box, select Reset.
Name Starts With
Searches for column names that begin with specified text. To remove the text box, select Reset.
Name Ends With
Searches for column names that end with specified text. To remove the text box, select Reset.
Navigating Reports
JMP reports are displayed in standard windows with scroll bars and options to resize. They also have other special buttons and menus like those illustrated in Figure 9.3 and those discussed in the following sections.
Figure 9.3 Basics of the Report Window
 
Table 9.3 Report Window Actions 
Number
Action
1
Click on the disclosure buttons to hide or show sections of the report.
2
Click on the red triangle menus to access report options.
3
Right-click in the table to access formatting options.
4
Click and drag on the borders to resize graphs.
5
Right-click anywhere in the graph to access formatting options.
6
Right-click within the axis to access formatting options.
7
The arrow cursor turns into a hand when you hover over an axis. Click and drag using to scroll along the axis or to rescale the axis. See Scroll and Scale Axes.
Use the Hand Tool
Select the hand tool using the Tools > Grabber option. There are many functions that you can use with the hand tool (also known as the grabber tool) in a report. Here are some examples of the way the hand behaves in graphs and plots:
• On histograms, for continuous variables, use the hand tool to change the number of bars or to shift the boundaries of the bars.
• In all report tables, use the hand tool to click and drag columns for rearranging.
• Use the hand tool to change the displayed range of axis values. See Scroll and Scale Axes.
Access Report Display Options
Right-click a disclosure button to show a menu that lets you rearrange the report and gives you control over report outline levels. The resulting menu has the following report formatting options:
Close
Closes (hides) that section of the report. This can also be accomplished by clicking the disclosure button.
Horizontal
(if available) Horizontally aligns the next lower outline levels. By default, most reports are arranged with the outline levels showing vertically with indented outline levels.
Open All Below
Opens all outline levels beneath the level where this command is selected, including that level.
Close All Below
Closes all outline levels beneath the level where this command is selected, including that level.
Open All Like This
Opens all of the same type of reports as the one that is present in the analysis window. If you analyze several variables at a time, you often want to close many of the same type of report tables all at once. You might also want to close all of the same type of report tables at once when you select multiple options on a single analysis.
Close All Like This
Closes all of the same type of reports as the one that is present in the analysis window.
Close Where No Outlines
Closes all parts of the report that do not have sublevels. This command is usually used at the top level of the report outline. It is a quick way to see a nesting structure overview of a report.
Append Item
Displays a submenu, which lists ways that you can add structural items to the report. Items include text, outline title bars, references to other JMP files and windows, a list of all open JMP files, and URLs.
Edit
Displays the submenu shown in Figure 9.4, which affect all reports at the outline level where they are used:
Select
Highlights all reports for that outline level.
Deselect
Deselects all selected reports for that outline level.
Journal
Duplicates the report in a separate window titled Journal so you can edit it or append other reports to it. See JMP Journals in Save and Share Data.
Copy Picture
Copies the report to the clipboard. You can then open another application and paste it.
Page Break
Inserts a page break for printing purposes.
Show Tree Structure
Opens a window that shows the DisplayBoxes that make up the report. This is mainly used by JSL programmers who are manipulating or reading parts of the report.
An alternative way to access these options is to hold down the ALT key and right-click the disclosure button . This displays a window, as shown in Figure 9.4, with check boxes for commands and options so that you can select multiple actions at the same time. You can also do the same for the menu under a red triangle menu.
Figure 9.4 Menu Items in a Window
Show and Hide Parts of a Report
JMP reports are organized in a hierarchical outline. Each level of the outline has a triangle-shaped disclosure button . Click the disclosure button to open and close that section of the report.
Combine Several Reports
Suppose that you perform multiple analyses and want to show the results in one window. You can select and combine the reports in several ways:
• Select the check box in the lower right corner of the report windows and then select Combine selected windows next to the check box.
• Select the corresponding commands in the Window > Arrange menu.
• Right-click the report windows in the Home Window or Window List and then select Combine.
Rename a Title
To rename a title in a report, double-click on any of the following titles:
• a title next to a red triangle menu
• a title next to a disclosure button
• a column title
Increase Font Sizes
On Windows, change the font size that JMP uses in reports and data tables by selecting Window > Font Sizes. Then choose from one of the submenu items:
Increase Font Size
Increases the font size. Select again to increase the font size again.
Decrease Font Size
Decreases the font size. Select again to decrease the font size again.
How to Access Analysis Options
Click the red triangle menu in a report to access a list of options that apply for that particular report. In addition to clicking the red triangle menu, you can also:
• Select multiple actions at the same time. Hold down the ALT key and click the red triangle menu. A panel of all commands and options appears with check boxes.
• Apply a command to all similar reports in the report window. Hold down the CTRL key and click the red triangle menu. For example, in a One-way analysis, if you hold down the CTRL key, click the icon, and select Means/Anova/t Test, an analysis of variance is performed for all One-way analyses in the active report window.
The red triangle options applicable to each platform in the Analyze and Graph menus are described in the following books:
• Basic Analysis and Graphing
• Modeling and Multivariate Methods
• Quality and Reliability Methods
Script Menus
The red triangle menu at the top level of every JMP report contains a Script menu. Most of these options are the same throughout JMP. A few platforms add extra options that are described in the specific platform chapters. Table 9.4 lists the Script menu options that are common to all platforms.
 
Table 9.4 Description of Script Menu Options 
Redo Analysis
If the values in the data table that was used to produce the report have changed, this option duplicates the analysis based on the new data. The new analysis appears in a new report window.
Relaunch Analysis
Opens the platform Launch window and recalls the settings used to create the report.
Automatic Recalc
Automatically updates analyses and graphics when data table values change. See Automatic Recalc.
Copy Script
Places the script that reproduces the report on the clipboard so that it can be pasted elsewhere.
Save Script to Data Table
Saves the script to the data table that was used to produce the report.
Save Script to Journal
Saves a button that runs the script in a journal. The script is added to the current journal.
Save Script to Script Window
Opens a script editor window and adds the script to it. If you have already saved a script to a script window, additional scripts are added to the bottom of the same script window.
Save Script to Report
Adds the script to the top of the report window.
Save Script for All Objects
If you have By groups or similar multiple reports, a script for each object is saved to the script window. Otherwise, this option is the same as Save Script to Script Window.
Save Script to Project
Saves the script in a project. If you have a project open that contains the report, the script is added to that project. If you do not have a project that contains the report, a new project is created and the script is added to it.
Data Table Window
Shows the linked subset of data used to create the report in a new data table window.
Local Data Filter
If your data table contains row states and you do not want to affect them, use the Local Data Filter. The actions of this data filter are temporary and you can experiment with it.
Note: Platforms that do not support the Automatic Recalc option also do not support the Local Data Filter option.
Column Switcher
Lets you interactively exchange one column for another on a graph. See Column Switcher.
If you have specified a By variable in the platform launch window, the Script All By-Groups menu also appears. These options apply to the reports for all the levels of the By variable.
 
Table 9.5 Descriptions of Script All By-Groups Options 
Redo Analysis
If the values in the data table that was used to produce the reports have changed, this option duplicates the analysis based on the new data and produces new reports.
Relaunch Analysis
Opens the platform Launch window and recalls the settings used to create the reports.
Copy Script
Places the script that reproduces the reports on the clipboard so that it can be pasted elsewhere.
Save Script to Data Table
Saves the script to the data table that was used to produce the reports.
Save Script to Journal
Saves a button that runs the script in a journal. The script is added to the current journal.
Save Script to Script Window
Opens a script editor window and adds the script to it. If you have already saved a script to a script window, additional scripts are added to the bottom of the same script window.
Automatic Recalc
The Automatic Recalc feature immediately reflects changes that you make to the data table in the corresponding report window. You can make any of the following data table changes:
• exclude or unexclude data table rows
• delete or add data table rows
This powerful feature immediately reflects these changes to the corresponding analyses, statistics, and graphs that are located in a report window.
To turn on Automatic Recalc for a report window, click on the platform red triangle menu and select Script > Automatic Recalc. To turn it off, deselect the same option. You can also turn on Automatic Recalc using JSL.
Note the following:
• By default, Automatic Recalc is turned off for platforms in the Analyze menu and turned on for platforms in the Graph menu. The exceptions are the Capability, Variability/Gauge Chart, and Control Chart > Run Chart platforms.
• For some platforms, the Automatic Recalc feature is not appropriate and therefore is not supported. These platforms include the following: DOE, Profilers, Choice, Partition, Nonlinear, Neural, Neural Net, Partial Least Squares, Fit Model (REML, GLM, Log Variance), Gaussian Process, Item Analysis, Cox Proportional Hazard, and Control Charts (except Run Chart).
Column Switcher
Within a report, use the Column Switcher to quickly analyze different variables without having to recreate your analysis. To activate the Column Switcher, from a report window, click on the red triangle menu. Select Script > Column Switcher.
If you have multiple columns, use the buttons to animate the column switching or step through each column manually. Move the slider control to change the speed of the animation.
Example of the Column Switcher
You have data about nutrition information for candy bars. You want to examine different factors, to see which factors best predict calorie levels.
1. Open the Candy Bars.jmp sample data table.
2. Select Graph > Graph Builder.
3. Click Total fat g and drag to the X zone.
4. Click Calories and drag to the Y zone.
5. Click Cholesterol and drag to the Wrap zone.
6. From the red triangle next to Graph Builder, select Script > Column Switcher.
Choose the column that you want to switch from:
7. Select Cholesterol and click OK.
Choose the columns that you want to switch to:
8. Select Saturated fat g, Cholesterol g, Sodium mg, Carbohydrate g, Dietary fiber g, and Sugars g and click OK.
Figure 9.5 Column Switcher in Graph Builder Window
9. Click the Play button to cycle between the different factors. Use the slider to control the speed of the animation. Alternatively, you can step through each factor individually.
You can see that the relationship between calories and fat is relatively strong for each level of carbohydrate. Therefore, Carbohydrate g appears to be the best predictor of calorie levels.
The Data Filter
The Data Filter gives you a variety of ways to identify subsets of data. Using Data Filter commands and options, you interactively select complex subsets of data, hide these subsets in plots, or exclude them from analyses.
When you select Rows > Data Filter, the initial Data Filter window appears. As you work with the data table, this window is attached to the table. You can change this preference by selecting File > Preferences > Tables and deselecting Use a Floating Window for Data Filters.
Figure 9.6 Initial Data Filter Window
 
Table 9.6 Description of the Initial Data Filter Window 
Data Filter red triangle menu
The red triangle menu next to Data Filter contains options such as Animation, Hierarchical, and Show Subset. For a description of all options, see Data Filter Options.
Add Filter Columns red triangle menu
Use these options to sort columns, show or hide columns, or search columns. See Columns Filter Menu.
Save and restore current row states
This option restores your current row states when the Data Filter window is closed.
Add Filter Columns panel
Lists all included variables in the current data table. You select columns in this list whose values you want to use as filters that identify subsets of data. You can re-open the Add Filter Columns panel and add more filter variables to the process at any time.
Add
Adds the selected columns to the Data Filter.
The Data Filter Control Panel
Once you have selected columns in the initial window and clicked Add, the Data Filter control panel appears.
Figure 9.7 Data Filter Control Panel
 
Table 9.7 Description of the Data Filter Control Panel 
Red triangle menu for the Data Filter
The red triangle menu next to Data Filter contains options such as Animation and Show Subset. See Data Filter Options.
Select
Highlights the rows (or observations) in the data table that correspond to the selections that you make in the Data Filter. See Changing the Row State in the Data Table After Making Data Filter Selections.
Show
Shows the rows that you identified using the Data Filter in plots and charts. All other rows have the hidden row state icon assigned to them. The hidden row state icon () appears for those rows in the data table. For details about row states, see the Set Column Properties.
Include
Includes rows that you identified using the Data Filter in statistical analyses. All other rows have the excluded row state assigned to them. The excluded row state icon ()appears next to the row number in the data table for these rows. For details about row states, see the Set Column Properties.
Clear
Clears all selections that you have made on variables in the Data Filter window.
Red triangle menu for a nominal or ordinal variable
Contains the following options:
Delete
removes the variable from the Data Filter control panel.
Clear Selection
clears any selection in effect for that variable only.
Invert Selection
deselects any selected values, and selects all values previously not selected, for that variable only.
Display Options
which include the following:
Blocks Display shows each level as a block.
List Display shows each level as a member of a list, followed by its frequency.
Single Category Display shows each level, followed by its frequency, in a menu.
Order by Count
orders the variable values by frequency of occurrence whether the variable is shown as a bar of values or in list form.
Red triangle menu for a continuous variable
Contains the following options:
Delete
removes the variable from the Data Filter control panel.
Clear Selection
clears any selection in effect for that variable only.
Invert Selection
deselects any selected values, and selects all values previously not selected, for that variable only.
Select Missing
selects any missing values for that variable only.
Nominal or ordinal variables
Values appear in blocks, in a list, or in a menu. If the variable contains only a small number of categories, the values appear in blocks. If the variable contains a large number of categories, the values appear in a list or in a menu.
Continuous variables
Values appear in a range with a slider that you can adjust in one of the following ways:
• Click and drag the slider bar. You can drag from either end of the slider bar. The selected values appear above the slider bar.
• Click anywhere in the empty (not selected) part of the slider to set the filter range at that point.
• Click on the number to type in the value that you want.
By default, the range of values includes an equal sign, which includes the endpoints. You can remove the equal sign by holding down the SHIFT key and clicking on the or the .
The Select Missing option highlights any missing values in the data table.
AND
The AND button opens the Add Filter Columns list. The and operator restricts the selection. You can add variables to the filter process at any time.
OR
The OR button opens the OR Add Filter Columns list. The or operator extends the selection. You can add variables to the filter process at any time.
Data Filter Context Menus
The Data Filter contains different right-click menus. Figure 9.8 shows the right-click areas.
Figure 9.8 Right-Click Areas
Context Menu for the Background
The options that appear when you right-click in the background are the same as the options in the red triangle menu next to Data Filter. See Data Filter Options.
Context Menu for a Block
Table 9.8 describes the available options when you right-click in a block for a nominal or ordinal variable. This option is not available if the values are in a list.
 
Table 9.8 Description of Block Options 
Color
Changes the background color of the block.
Cell Labeling
Unlabeled removes the label from the block.
Show Counts shows the count of each group within the variable. See Example of Changing Cell Labeling.
Show Percents shows the percentage of each group within the variable.
Show Labels shows the value of each group within the variable.
Example of Changing Cell Labeling
In the following example, change the values for the age variable to show counts (of age groups) instead of labels (of ages).
1. Open the Big Class.jmp sample data table.
2. Select Rows > Data Filter.
3. Select age, sex, and height and click Add.
4. Right-click on any of the values in the age variable and select Cell Labeling > Show Counts.
Figure 9.9 Changing Categories from Labels to Counts
Counts of each age group appear instead of labels. For example, there are eight twelve-year olds, seven thirteen-year olds, twelve fourteen-year olds, and so on.
Changing the Row State in the Data Table After Making Data Filter Selections
If you modify a row state that you set in the Data Filter and subsequently alter row states in the data table, or select points in a graph or a plot, the selections in the Data Filter might not match the selections in the data table. The Data Filter shows a warning message that says: Your selection was changed in another window. The Reset Selection button appears. Clicking the Reset Selection button changes the data table selections back to reflect the selections in the Data Filter.
Example of Modifying Selections
1. Open the Big Class.jmp sample data table.
2. Select Analyze > Distribution.
3. Select age and sex and click Y, Columns.
4. Click OK.
5. Select Rows > Data Filter.
6. Select sex and click Add.
In the Data Filter control panel, select all of the males.
7. Click on the M block.
Figure 9.10 Rows Containing Males Highlighted in Data Table and Histograms
You can see that all of the rows containing males are highlighted in the data table and in the histograms. Now, you decide that you only want to see the students who are age 12.
5) In the age histogram, select the bar representing age 12.
Now the selection does not match the Data Filter selection. A warning message and a Reset selection button appear in the Data Filter window.
Figure 9.11 Data Filter Warning Message and Reset Button
Data Filter Options
The red triangle menu next to Data Filter contains options such as Animation, Show Subset, and so on.
Hierarchical
Data that consists of subcategories within categories is considered hierarchical data. For example, geographical regions might contain states. By selecting the Hierarchical red triangle option, you can filter regions so that only the states in that region appear in the second filtered list. This feature provides a quick view of subcategories in the Data Filter window.
Example of Filtering Data Hierarchically
1. Open the CrimeData.jmp sample data table.
2. Select Rows > Data Filter.
3. In the Data Filter window, select Region and State, and then click Add.
The Data Filter window appears with a Region list and a State list.
4. Select Hierarchical from the Data Filter red triangle menu.
5. Select Midwest in the Region list.
The Midwest regions are selected in the data table. In the Data Filter window, only midwestern states appear in the State list (Figure 9.12).
Figure 9.12 Hierarchically Filtered Data
Animation
The animation feature sequentially highlights the values of a single variable. The variable’s values highlight in the data table. However, patterns are more interesting if you first create a plot and then animate a variable using the Data Filter to see how it behaves on the plot.
To use the animation feature, from the red triangle menu next to Data Filter, select Animation. Then select the variable that you want to animate. The highlighted frame around the variable indicates which variable is selected for animation.
Figure 9.13 Animation Control Panel in the Data Filter
The Animation Control panel (Figure 9.13) has these controls:
• The middle button () starts and stops the animation. After you start the animation cycles, the button changes to a stop button (). By default the animation begins with the first value of the topmost variable.
• The backward arrow () moves the animation backward one cycle. Click more than once to go backward more than one cycle.
• The forward arrow () moves the animation forward one cycle. Click more than once to go forward more than one cycle.
• The square button () hides the Animation Control section on the Data Filter Window. Select Animation from the menu on the Data Filter title bar again to see the Animation Control.
The Animate mode drop-down menu has these options.
Forward
highlight values forward from first to last.
Backward
highlight values from last to first.
Bounce
highlight forward and then backward repeatedly.
Use the slider to adjust the speed of the animation.
Show Subset
The Show Subset option is similar to the Tables > Subset command, only without subsetting options. When you choose Show Subset, JMP creates a new data table that contains only the following:
• The rows identified by the Data Filter.
• The columns selected in the active data table. If no columns are selected, then all columns are included.
Save WHERE Clause
Once you have filtered variable values in the Data Filter, that information can be expressed as a JMP WHERE clause. The WHERE clause is used in JSL (JMP Scripting Language) programs to identify specific rows of data for processing or analysis. The Data Filter builds a WHERE clause based on the value selections that you make.
The options in the Save Where Clause menu include the following:
to Clipboard
creates a WHERE clause from the filter criteria and puts it on the clipboard.
to Row State Column
creates a row state column in the data table that has a formula equivalent to the filter criteria.
to Data Table
creates a WHERE clause from the filter criteria and saves it as a JSL command with the current data table in a table property called Filter.
to Script Window
creates a WHERE clause from the filter criteria and appends it to the current script text window, or creates a new script if one does not exist already.
to Journal
creates the WHERE clause from the filter criteria and appends it to the current journal, or creates a new journal if one does not already exist.
Example of Saving a WHERE Clause
1. Open the Big Class.jmp sample data table.
2. Select Rows > Data Filter.
3. Select age, sex, and height and click Add.
Select all females who are twelve and fourteen years old and whose height is between 56 and 60 inches:
4. Hold down the CTRL key and click on the 12 and 14 blocks and the F block.
5. Click on 51 and type 56.
6. Click on 70 and type 60.
7. From the red triangle menu next to Data Filter, select Save Where Clause > to Script Window.
The WHERE clause that is created from this example appears in a script window, as follows:
Select Where(
(:age == 12 | :age == 14) & :sex == "F" & (:height >= 56 & :height <= 60)
);
Use Floating Window
If you want the Data Filter window to remain on top of its associated data table, select the Use Floating Window option. If you do not want the Data Filter window to remain on top, deselect this option.
Script
The Script menu provides options for saving scripts. See Save Your Analysis as a Script in Save and Share Data.
Format Report Tables
There are many ways that you can format a report table to meet your needs. Right-click in a report table to access the following formatting options:
Table Style
adds borders and dividing lines to the table. Select from the following options:
– Plain contains no divider lines or borders.
– Bordered contains a border around the table and divider lines between columns.
– Embossed on Windows, adds a three-dimensional effect to the border and divider lines. On the Macintosh, changes the border from black to gray.
– Beveled on Windows, adds a three-dimensional effect and causes the corners of borders to be rounded instead of square. On the Macintosh, shades the table background gray.
– Heading Separator adds a thin line under the boldface table headings.
Note: You can also change the table style using the Report table style option in File > Preferences > Reports.
Table Row Style
adds or removes borders from the rows within a table.
Columns
shows or hides columns in the table.
Note: Columns whose names begin with a tilde (~), such as ~Bias, are not applicable to the analysis that you ran and do not appear in the table, even if you place checks next to their names.
Sort by Column
Sorts the columns in descending or ascending order by the selected column.
Make into Data Table
creates a JMP data table from the report table.
Make Combined Data Table
searches the report for other tables like the one you selected and combines them into a single data table.
Make Into Matrix
creates a JMP matrix from a report table. See Turn a Report Table Into a Matrix.
Bootstrap
approximates the sampling distribution of a statistic. For more information, see Basic Analysis and Graphing.
Turn a Report Table Into a Matrix
You can create a JMP matrix from a report table. For example, when working with JMP Scripting Language (JSL), you might want to access a report’s table that has been stored into a JSL variable. Or, you might want to store a report table’s values into a table property as either a table property or as a JSL assignment, which is stored within the data table and is accessible via a script or the Formula Editor.
To store a table in matrix form into a global variable, into a table property, or into a table property as an assignment:
1. Right-click anywhere in a report table.
2. Select Make into Matrix.
3. In the window that appears, tell JMP how you want to store the table.
4. (Optional) Rename the variable or property by typing a new name into the box beside Name.
Select Points in Plots
To select a point in a plot, click the point with the arrow cursor. This selects the point as well as the corresponding row in the current data table. To select multiple points, hold down the SHIFT key while you select points. A point’s label appears when you place the cursor over the point with or without clicking.
Select Rows and Columns in Plots, Charts, and Graphs
All graphs and plots that represent the same data table are linked to each other and to the corresponding data table. When you click points in plots or bars of a graph, the corresponding rows highlight in the data table. The example in Figure 9.14 shows a histogram with the SPEEDYTYPE bar highlighted, and the corresponding rows highlighted in the table. You can also extend the selection of bars in a histogram by holding down the SHIFT key and then making your selection.
Figure 9.14 Highlighting Rows In a Histogram
Select a Rectangular Area of Points
You can select all points that fall in a rectangular area using the arrow cursor. Click and drag the arrow to highlight points. Alternatively, you can use the brush tool. As you move the brush over the graph, points that fall within the rectangle are selected. Any points marked in the data table as hidden are not selected. See Hide Rows and Columns in Enter and Edit Data.
To select points using the brush tool:
1. Click the brush tool in the toolbar.
2. Click and hold the cursor (now brush-shaped) in a plot. A rectangle appears.
3. Move the rectangle over points. As it passes over them, they appear larger and are highlighted both in the plot and in the active data table.
Note: To keep all points selected as you move the brush-shaped cursor over points, press the SHIFT key before you click in the plot.
Figure 9.15 Using the Brush Tool
4. Release the mouse. The points within the rectangle remain selected.
You can also use the brush tool to change the size of the selection rectangle. Hold down the ALT key before you click in the plot. This shape acts like a slicing tool that can traverse and highlight slices of points across either axis.
Select an Irregular-Shaped Area of Points
You can use the lasso tool to select points that fall in an irregular-shaped area. Any points marked in the data table as hidden are not selected. See Hide Rows and Columns in Enter and Edit Data.
To select points within an irregular-shaped area:
1. Click the lasso tool in the toolbar.
2. Click and hold the cursor (now lasso-shaped) in a plot.
Note: To keep all points selected as you drag the lasso around several sets of points, press the SHIFT key before you click in the plot.
3. Drag the lasso around any set of points.
Figure 9.16 Using the Lasso Tool
4. Release the mouse. JMP automatically closes the lasso and highlights the points within the enclosed area.
Use Markers
Markers are points on a graph that represent data. Once they are changed from their default setting, they also appear next to rows in the data table. The following sections show you how to change marker shape, size, color, and so on.
Change Marker Shape
You can assign a character from the JMP markers palette to replace the standard points in scatterplots. These markers also appear next to row numbers in the data table.
1. Highlight one or more markers whose shape you would like to change.
2. Right-click anywhere in the graph. In a histogram, right-click the box plot area on the right.
3. Select Row Markers.
4. Select a marker shape from the options that appear, or click Custom to enter a character to use as a marker.
Change Marker Colors
You can assign any color to highlighted rows. When you do this, the points in scatterplots appear in the color that you select from the colors palette. The active color assigned to a row appears next to the row number in the data grid.
To change the color of markers (points) on a graph:
1. Highlight one or more markers whose color you would like to change.
2. Right-click anywhere in a graph. In a histogram, right-click the box plot area on the right.
3. Select Row Colors.
4. Select one of the colors, or click Custom to apply a custom color.
Change Marker Size
To increase or decrease the size of markers (points) on a graph:
1. Right-click anywhere in a graph. Hold down the CTRL key and right-click to broadcast the command and apply it to all plots of the same type located in the same window. In a histogram, right-click the box plot area on the right.
2. Select Marker Size.
3. Select one of the marker sizes listed. Preferred Size is the size that JMP estimates to be the best size for the graph.
Change the Marker Drawing Mode and Transparency
When working with a large number of markers on a graph, the markers can appear crowded. If this is the case, you might need to alter the transparency to gain a better view. Altering the transparency might also affect the marker drawing mode, which is the mode JMP uses when it refreshes a report window. As it draws markers on a plot, it uses one of two speeds: normal or fast.
To change the marker drawing speed:
1. Right-click anywhere in a graph. In a histogram, right-click the box plot area on the right.
2. Select Marker Drawing Mode, and then select either Normal or Fast.
Normal
If JMP is in normal drawing mode and the number of markers in a graph are more than the specified threshold number, JMP automatically switches to fast mode. See Reports in JMP Preferences, for details about setting the marker threshold.
Fast
Graphs displaying a large number of markers appear faster if you set the marker drawing speed to Fast. Note that when the drawing speed is set to Fast, marker size reverts to Preferred Size, and marker transparency settings revert to the default opaqueness.
Outlined
Add Outlines Around Markers
You can add a black outline, or frame, to markers in a plot. Outlined markers are available at the medium, larger, XL, XXL, and XXXL marker size. (See Change Marker Size, for details.)
To add outlines:
1. Right-click a plot or graph.
2. Select Marker Drawing Mode.
3. Select Outlined.
To use an outline effectively, it is best if your marker is a color other than black.
To change marker colors:
1. Highlight the markers whose color you want to change.
2. Right-click anywhere in the graph.
3. Select Row Colors.
4. Select a marker color from the options that appear.
Marker Selection Modes
When you select markers on a graph, only the selected markers are highlighted. You can change the way markers are highlighted on the current graph. The options are applied to the top two triangles in the following figure.
Figure 9.17 Examples of Highlighted Triangular Markers
To change the marker highlighting on the current graph:
1. Right-click anywhere in a graph and select Marker Selection Mode.
2. Select one of the following options:
Preferred Mode
the Marker Selection Mode JMP preference is applied (by default, Unselected Faded).
Unselected Faded
only the selected markers are highlighted. Everything else is dimmed.
Selected Larger
the selected markers are larger than the deselected markers.
Selected Haloed
the edges of the selected markers are outlined in blue.
Selected Outlined
the selected markers are outlined in black.
For information about setting the default marker selection mode, see Reports in JMP Preferences.
Specify Marker Transparency
You can change the transparency of markers (points) on a graph. For example, this enables you to control the visibility of overlapping points.
Note: When the drawing speed is set to Fast, marker transparency settings revert to the default opaqueness and marker size reverts to Preferred Size.
To adjust markers’ transparency:
1. In a graph, right-click anywhere and select Transparency. In a histogram, right-click the box plot area on the right and select Transparency.
2. Type the level of transparency that you want the markers (points) to have on the graph, and click OK.
A value of 1 indicates total opaqueness and 0 indicates invisibility. Values between 1 and 0 are semi-transparent.
Exclude and Hide Markers
Using the Exclude/Unexclude command, you can exclude highlighted rows from statistical analyses. Data remains excluded until you select Rows > Exclude/Unexclude for those highlighted rows.
Note: Excluded data are not automatically hidden in plots even though they are excluded from calculations in text reports and graphs.
Using the Hide/Unhide command, you can suppress (hide) the appearance of highlighted points in scatterplots. For example, you can exclude points from analysis and then hide those same points in scatterplots. The data remain hidden until you select Rows > Hide/Unhide for highlighted hidden rows.
Note: Hidden points are not automatically excluded from statistical computations that affect text reports and graphs, even though they are not displayed in the plots. To exclude hidden observations from analyses, you must highlight them and select Rows > Exclude/Unexclude characteristic.
To exclude or hide markers (points) from analyses:
1. Highlight the marker(s) that you would like to exclude or hide.
2. Right-click anywhere in a graph.
3. Select Row Exclude or Row Hide.
Add Labels to Markers
When you position the arrow cursor over a point in a plot, the point’s label appears. By default, the label is the row number. There are three ways that you can customize the label:
• You can change the label so it displays values found in one or more columns instead of the row number.
• You can enable the label to appear always, not just when you position the cursor over points.
• You can click the label with the Arrow tool and drag it to a new location. If a label is dragged a certain distance away from the marker, then a tail is added connecting the label to its point.
To display values found in one or more columns instead of the row number:
1. In the data table, highlight the column(s) whose values you want to appear as the label in plots.
2. Select Label/Unlabel from one of the following places:
– the Cols menu
– the red triangle menu in the Columns panel
– the top red triangle menu in the upper left corner of the data grid
A label or yellow tag icon beside the column name in the Columns panel indicates that points on plots are identified by the column value. If there are multiple labeled columns, their values appear on plots separated by a comma. Data remains labeled until you highlight the column and select Label/Unlabel again.
To enable the label to appear always, not just when you position the cursor over points:
1. Highlight the point(s) whose label you want to always appear in plots.
2. Right-click anywhere in a graph. In a histogram, right-click the box plot area on the right.
3. Select Row Label.
A label or yellow tag icon beside the row number in the data table indicates that points on plots corresponding to the row appear with a label.
Change Marker Shape or Colors Based On Values
In some plots, you can change marker shapes or colors based on the values of points by adding a row legend. It is called a row legend because JMP automatically inserts a legend using row color or row marker settings. When you assign markers or colors in this way, it assigns the characteristic(s) to all points in a graph, regardless of what points you have selected. All previous marker and color settings are overwritten.
To add shapes or colors based on column values:
1. Right-click anywhere in a graph. In a histogram, right-click the box plot area on the right.
2. Select Row Legend.
3. In the window that appears (Figure 9.18), highlight the column whose values you want to color or mark. A preview of the legend is shown on the right.
Figure 9.18 Adding a Row Legend
4. Refine your row legend using the following options:
Colors
Lets you choose among several pre-defined color schemes.
Continuous Scale
Assigns colors on a spectrum that corresponds to the ascending or descending order of the values. Use this option when the highlighted column contains continuous values.
Reverse Scale
Reverses the scale of colors.
Markers
Lets you choose among several marker schemes.
Make Window with Legend
Creates a separate legend window that tells you what colors and shapes correspond to which value.
Save Column Property
Adds a column property that stores the selected color theme.
Save Table Property
Adds a table property that preserves the selected color and marker configuration.
Excluded Rows
Assigns colors or markers to rows that are excluded.
Most legends have one column. However, the following platforms have multi-column legends when there are more than 20 levels:
• Recurrence
• Oneway (for CDF Plot and all three Densities red triangle commands)
• Fit Model (Standard Least Squares in Regression Plot)
• Survival
Remove the Legend
After you make the legend, right-click it to change the colors and the markers or to remove the legend. To remove colors or markers, select Rows > Clear Row States in the data table.
Alter Plot and Chart Appearances
There are many ways that you can format your report to meet your needs. The sections below detail how to make changes to the graphical portions of your output reports.
Resize Plots and Graphs
There are two main ways to resize plots and graphs: using the click and drag method or resizing it according to pixel size.
Note: You can also change the default size of a graph using the Graph Height option in File > Preferences > Graphs.
Use Click and Drag
To resize a plot or graph using the click and drag method:
1. Place the cursor on the right edge, bottom edge, or lower right corner of the plot frame. The cursor changes to a small double-arrow pointer.
2. Click and drag to change the size of the plot. When you resize, the height and width of all plots in that frame adjust independently of other frames in the same report window. Table 9.9 describes how to adjust the plot.
 
Table 9.9 Resizing Actions 
Action
Instructions
Adjust the plot frame but preserve the proportions (aspect ratio)
Hold down the SHIFT key and click and drag the corner of the frame.
Adjust a plot in 8-pixel increments
Hold down the ALT key and click and drag the corner of the frame.
Adjust all plots of the same type simultaneously
Hold down the CTRL key and click and drag the corner of one of the plots. If you do this for one scatterplot, the action is broadcast to all scatterplots in the window, and they resize together. Any other types of plots remain unchanged.
Specify Size in Pixels
To resize a plot or graph to a specific pixel size:
1. Right-click the plot or graph.
2. Select Size/Scale > Frame Size.
3. Enter the number of pixels for the frame’s height and width.
Note: For details about the other options in the Size/Scale menu, see Scroll and Scale Axes.
Zoom In and Out
The magnifier lets you automatically zoom in on any area of a plot. When you click the magnifier, the point or area where you click becomes the center of a new view of the data. The scale of the new view enlarges, giving you a closer look at interesting points or patterns. You can perform any of the following actions:
• Click and drag the magnifier to focus in on a particular region of the plot.
• On a ternary plot, drag the magnifier to zoom the triangular axes.
• Zoom repeatedly to look closer at the data.
• Hold down the CTRL key and click to return to your previous state before the last zoom.
• Double-click or hold down the ALT key and click the magnifier to restore the original plot.
Change Line Widths
After fitting a line to a graph, or producing a graph with a line already present, you can adjust the width of the line:
1. Right-click anywhere in a graph.
2. Select Line Width Scale.
3. Select to increase the current line width one to three times its default width. Or, select Other and specify a larger or smaller number. Select Scale with Font to increase the line size as you increase the display font size using Window > Font Sizes (Windows) and View > Make Text Bigger/Smaller (Macintosh).
Change the Background Color in a Graph
To change the background color in a graph, follow these steps:
1. Right-click anywhere in a graph. (To change only the color of a box plot, right-click the box plot area.)
2. Select Background Color.
3. Select one of the predefined colors, or create your own color.
4. Click OK.
Change the Color of Histogram Bars
To change the color of histogram bars, follow these steps:
1. Right-click anywhere in a histogram and select Histogram Color.
2. Click a color, or click Other and create your own color.
See your operating system documentation for details about creating your own colors.
Display Coordinates and Temporary Reference Lines
You can measure points and distances in graphs, or easily find the exact value, or coordinates, of points and distances on plots and graphs. To do this, click the crosshairs tool and click and hold anywhere on a graph. The coordinate values appear where the crosshairs intersect the vertical and horizontal axis as you drag the crosshairs within a plot.
Figure 9.19 Using the Crosshairs Tool
On a fitted line or curve, the crosshairs identify the response value for any predicted value. On a ternary plot, this tool displays triangular crosshair lines.
Scroll and Scale Axes
The hand tool (also known as the grabber tool) () provides a way to change the axes and view of a plot:
• On a y-axis, dragging scrolls the y-axis; dragging or scales the y-axis.
• On an x-axis, dragging scrolls the x-axis; or scales the x-axis.
You can also right-click in a plot or graph, and select Size/Scale (or Graph > Size/Scale). Choose one of the following options:
• To adjust the scale of the X axis, select X Axis.
• To adjust the scale of the Y axis, select Y Axis or Right Y Axis.
• For details about the Frame Size option, see Specify Size in Pixels.
• Select Size to Isometric when the x- and y-axes are measured in the same units and you want distances on the graph to be represented accurately regardless of direction.
Customize Axes and Axis Labels
Double-click a numeric axis to customize it using the Axis Specification window. Or, right-click the axis area and select Axis Settings to access the window.
Customization features in the window depend on the data type of the axis and the specific platform JMP uses to create the plot or chart. Figure 9.20 shows a typical Axis Specification window for numeric axes.
Figure 9.20 The Axis Specification Window for a Numeric Axis
The following sections describe how to use the axis specification window and what tasks you can accomplish with it.
Establish the Minimum and Maximum Axis Values
For plots and charts that contain a numeric axis area, you can change the minimum and maximum values that you want the graph to display.
To change the minimum and maximum axis values while viewing a graph:
1. Double-click a numeric axis. Or, right-click and select Axis Settings. The axis specification window appears.
2. Type in a value for the minimum and maximum values that you want the graph to display.
Note: To restore the default minimum and maximum axis settings of a numeric axis, right-click a numeric axis and select Revert Axis.
3. (Optional) Select Reverse Order to reverse the axes by reversing the minimum and maximum values.
To set a default minimum and maximum axis value for a variable, which avoids making this change every time you run an analysis, see Axis in Set Column Properties.
The example on the right in Figure 9.21 is an enlargement of the point cluster that shows between 80 and 140 in the plot to the left. The enlarged plot is obtained by reassigning the maximum and minimum axis values and changing the number of minor tick marks to 1. (See Add Minor Tick Marks, for details.)
Figure 9.21 Rescale Axis to Enlarge a Plot Section
Change the Axis Scale Type
When viewing a graph with a numeric axis, you can change the axis scale as follows:
1. Double-click a numeric axis. Or, right-click and select Axis Settings. The Axis Specification window appears.
2. Select a scale type:
– Linear
– Log
– Geodesic
– Geodesic US
Note: Specific platforms might use other scale types that are fixed and cannot be changed.
To set a default scale type for a variable, which avoids making this change every time you run an analysis, see Axis in Set Column Properties.
Change the Orientation for Tick Labels
You can set the orientation for tick labels as follows:
1. Double-click a numeric axis. Or, right-click and select Axis Settings. The Axis Specification window appears.
2. From the Tick Label Orientation menu, select one of the options:
Automatic
Tick labels are oriented automatically to be readable, depending on the tick increment and length of the labels.
Horizontal
Baseline at the bottom.
Vertical
Vertical with the baseline on the right.
Perpendicular
(Recommended in place of Horizontal) Horizontal for vertical axes and vertical for horizontal axes.
Parallel
(Recommended in place of Vertical) Vertical for vertical axes and horizontal for horizontal axes.
Angled
Angled at about 45 degrees.
Change the Axis Increments
While viewing a graph, you can change the axis increments:
1. Double-click a numeric axis. Or, right-click a numeric axis and select Axis Settings. The Axis Specification window appears.
2. In the text box beside Increment, type the number of increments that you want displayed.
3. If the format of the axis is Date or Time (as shown in the Format drop-down menu), another drop-down menu appears beside Increment. (See Figure 9.22.) From that box, select which format you want the increments to take.
Figure 9.22 Changing Axis Increments
To set a default axis increment for a variable, which avoids making this change every time you run an analysis, see Axis in Set Column Properties.
Add and Remove Axis Labels
You can add or remove labels in a numeric axis. To add an axis label:
1. Right-click a numeric axis and select Add Axis Label.
2. Type a name for the axis label. The axis area enlarges to hold the number of label lines that you enter.
This command can be used multiple times to add multiple labels. To edit the label after it has been added to the axis, click it and it will turn into an edit box.
To remove an axis label, right-click a numeric axis and select Remove Axis Label. The last label added is removed.
Change the Numeric Format of an Axis
For plots and charts that contain a numeric axis area, you can change the format of the axis. To change the numeric format while viewing a graph:
1. Double-click a numeric axis. Or, right-click and select Axis Settings. The Axis Specification window appears.
2. In the box beside Format, use the drop-down menu to select an option. See Numeric Format Options in Set Column Properties.
3. If you selected:
– Date or Time from the Format drop-down menu in the previous step, use the drop-down menu to the right of the selection to select date increments for tick marks. For descriptions of options, see Numeric Format Options in Set Column Properties. You also need to specify the format of the increments, as described in Change the Axis Increments.
– Fixed Dec from the Format drop-down menu in the previous step, a text box appears beside the Format box. Type the number of decimal places that you want JMP to display.
Note: When you change the numeric format of an axis, you do not change the numeric format of the way the values appear in the corresponding data table. To change the way a date or time appears in a data table, see Numeric Formats in Set Column Properties.
Selecting a date interval from the date increment drop-down menu divides the JMP date (number of seconds) into the appropriate units. This gives the plot scale that you want for your data. The date axis must be a column with a JMP date value and appear in the Axis Specification window in the date format found in the Column Info window. However, you can use the Axis Specification window to format the date any way that you want it to be displayed in the plot.
Change Axis Label Font
You can modify the axis label font on any axis type. When you modify it, your change only applies to the active graph. To set the default axis label font, see Fonts in JMP Preferences.
To change the current font type and size:
1. Right-click an axis label.
2. Select Font.
3. Make your selections in the window.
To change the font color:
1. Right-click an axis label.
2. Select Font Color.
3. Select a color for the text from the color palette provided.
Rotate Axis Labels
You can modify the axis label on any axis type. To rotate an axis label:
1. Right-click an axis label.
2. Select Rotate Text.
3. Select which direction to rotate the text: Horizontal, Left, or Right.
To set a default axis label position for a variable, which avoids making this change every time you run an analysis, see Axis in Set Column Properties.
Copy and Paste Graph Contents
After customizing a graph by adding elements such as a fitted line, you can copy and paste the contents from one graph to another compatible graph:
1. Right-click the graph that you have customized.
2. Select Edit > Copy Frame Contents.
3. Right-click the graph to which you would like to copy the settings.
4. Select Edit > Paste Frame Contents.
Copy and Paste Axis Settings
After customizing an axis (as described in Customize Axes and Axis Labels), you can copy and paste your new settings to another axis:
1. Right-click the axis that you have customized.
2. Select Edit > Copy Axis Settings.
3. Right-click the axis to which you would like to copy the settings.
4. Select Edit > Paste Axis Settings.
Change the Order of Values
Data in a JMP report might not appear in the order that you prefer. To give data a specific order so it appears that way in a report, assign the column the Value Ordering property before running the analysis, as described in Value Ordering in Set Column Properties.
If your values include any of the following, they automatically appear in the appropriate order in reports:
• January, February, March, April, May, June, July, August, September, October, November, December
• Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec
• Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday
• Very Low, Low, Medium Low, Medium, Medium High, High, Very High
• Strongly Disagree, Disagree, Neutral, Indifferent, Agree, Strongly Agree
• Failing, Unacceptable, Very Poor, Poor, Bad, Acceptable, Average, Good, Better, Very Good, Excellent, Best
Customize Tick Marks and Tick Mark Labels
On a numeric axis, you can add and remove tick marks, add and remove gridlines, and add minor tick marks. You can also modify font properties, rotate the axis labels, or add an outline box to nominal or ordinal axes’ tick mark labels. The following sections describe how to customize them.
Add Tick Marks, Grid Lines, or Labels
For plots and charts that contain a numeric axis area, you can show or hide tick marks, grid lines, or labels. To do this, double-click a numeric axis. Or, right-click a numeric axis and select Axis Settings. The Axis Specification window appears, as shown in Figure 9.23.
Figure 9.23 Show or Hide Tick Marks and Gridlines
Below the check boxes, the orientation of the Tick Labels can be set by a drop-down list. Horizontal, Vertical, and Angled refer to single axes and Parallel and Perpendicular refer to paired axes, like in Multivariate plots.
To set default tick marks for a variable, which avoids making this change every time you run an analysis, see Axis in Set Column Properties.
Add Minor Tick Marks
To add tick marks to a numeric axis, or to change the number of minor tick marks that appear on a numeric axis, proceed as follows:
1. Double-click the tick mark. Or right-click it and select Axis Settings. The Axis Specification window appears.
2. In the box beside # Minor Ticks, type the number of minor tick marks that you want to appear between major tick marks.
3. Click the box to the right of Minor and below Tickmark to indicate that you want the tick marks to appear on the axis.
To set default minor tick marks for a variable, which avoids making this change every time you run an analysis, see Axis in Set Column Properties.
Adjust the Field Width of Labels
On plots and charts that contain a numeric axis area, you can adjust the width of the tick mark labels. Then they show large values with many decimal places or only a small amount of space or truncated values. If the field width is set too small, your tick mark labels appear as an ellipsis (...).
To change the field width while viewing a graph:
1. Double-click a numeric axis. Or, right-click and select Axis Settings. The Axis Specification window appears.
2. In the Width text box, type the approximate number of characters in the widest tick mark label. The maximum field width is 40 for numeric values. The maximum field width is 40 for numeric values. There is no limit for character values.
Note that increasing or decreasing the field width of tick mark labels does not change the field width for the cells containing the values in the corresponding data table. To change the field width of cells in a data table, see the section Numeric Formats in Set Column Properties.
Change Tick Mark Label Font Types and Sizes
You can modify a numeric axis tick label’s font type, size, and style (bold and italic). To change font type and size:
1. Double-click the tick label. Or, right-click it and select Axis Settings. The Axis Specification window appears.
2. Select Font, and make your selections.
Note: To make global changes to all types of axes’ font types and sizes, select File > Preferences (JMP > Preferences on the Macintosh). Click the Fonts tab, and then click Axis.
Rotate Tick Mark Labels
To rotate tick mark labels vertically or horizontally on a numeric axis:
1. Double-click the tick label. Or, right-click it and select Axis Settings. The Axis Specification window appears.
2. Modify the Tick Label Orientation.
To rotate tick marks on a nominal axis, right-click the tick label and select Rotated Tick Labels.
To rotate them back, complete the steps again.
Extend Divider Lines and Frames for Categorical Axes
Extending the vertical divider line(s) between tick labels is useful when there are many levels of a nominal or ordinal (categorical) variable.
To extend the divider line to the x-axis labels:
1. Right-click a nominal or ordinal axis.
2. Select Tick Marks > Divider Lines to add the lines, or Lower Frame to add a frame around the axis area.
Figure 9.24 Divider Lines
Add Reference Lines
To add references lines to graphs, proceed as follows:
1. Double-click a numeric axis. Or, right-click a numeric axis and select Axis Settings. The Axis Specification window appears.
2. In the text box to the left of the Add button, type the value to which you want the reference line to correspond. This is the position on the graph at which the line is placed.
3. Further customize the reference line by choosing either of these options:
 
Table 9.10 Reference Line Actions 
Action
Instructions
Give the line a color
Click the Color bar and select a color.
Use a stippled line
Click the line next to Line Style and select one of the line types.
4. Click the Add button. The value moves into the box to the right of the Add button, indicating that it will be placed on the graph.
5. To add more lines, repeat the above steps.
To set a default reference line for a variable, which avoids making this change every time you run an analysis, see Axis in Set Column Properties.
Add Geographical Images and Boundaries
Adding map images and political boundaries to graphs provides visual context to geospatial data. For example, you can add a map to the graph that displays an image of the U.S. Another option is displaying the boundaries for each state (when data includes the latitudes and longitudes for the U.S.).
The data should have latitudinal and longitudinal coordinates. Otherwise, the map has no meaning in the context of the data. The x and y axes also have range requirements based on the type of map. These requirements are described in the following sections.
Two tools are especially helpful when you are viewing a map:
• The grabber tool () lets you scroll horizontally and vertically through a map.
• The magnifier tool () lets you zoom in and out.
Note: For more information on images and boundaries, see the Graph Builder and Maps chapters in Basic Analysis and Graphing.
The following sections describe the map images and boundaries that you can add to a graph.
Earth Images Installed with JMP
JMP provides two levels of earth imagery, simple and detailed. Both maps show features such as bodies of water and terrain. However, detailed maps show more precise terrain. And with detailed maps, you can zoom in farther, and the map features remain clear.
The maps wrap horizontally, so you continue to see map details as you scroll from left to right. The maps do not wrap vertically. Beyond the -90 and 90 y-axis range, a plain background appears instead of the map.
Figure 9.25 Examples of Simple and Detailed Maps
Maps from the Internet
The National Aeronautics and Space Administration (NASA) map and other Web sites provide map image data using a protocol called Web Map Service (WMS). These maps have the advantage of showing the most up-to-date geographical information. However, the display of the maps can be slow depending on the response time of the server. An Internet connection is also required.
Unlike with simple and detailed maps, WMS maps do not wrap. You can scroll horizontally and vertically. However, beyond the -180 to 180 (x axis) and -90 to 90 (y axis) ranges, a plain background appears instead of the map.
Figure 9.26 Examples of NASA and WMS maps
Custom Map Image
There are two ways to use your own map images:
• Assign the Map Role column property in a data table and specify the path to the map. For details, see Map Role in Set Column Properties.
• You can create a map image in a graphics program and drag and drop the image onto a report. See Drag and Drop an Image into a Graph for details.
Boundaries
JMP can display boundaries (such as U.S. state or French region boundaries). These boundaries can be displayed alone on a graph or combined with image data.
Several boundaries are installed with JMP. Alternatively, you can create your own boundaries from Economic and Social Research Institute (ESRI) shapefiles or from scratch. See the Basic Analysis and Graphing book for details.
Figure 9.27 Example of U.S. State Boundaries
Add a Background Map and Boundaries
To add a background map and boundaries, proceed as follows:
1. Right-click a blank area on the graph and select Background Map (or select Graph > Background Map in Graph Builder).
The Set Background Map window appears.
Figure 9.28 Example of Background Map Options
2. To display a background, do one of the following:
– Select NASA server, Simple Earth, or Detailed Earth in the Images column.
– Select Web Map Service and paste a WMS URL next to URL. Type the layer identifier next to Layer.
3. To display geographic borders on the map, select an option in the Boundaries column. (If you installed your own boundary shapefiles, they are also listed in this column.)
4. Click OK.
If the NASA or WMS map does not appear after you add it, the map server might not be available. View the error log to verify the problem. (Select View > Log to open the log. Alternatively, you can set the log to open any time text is added to it. For details, see the Open the JMP Log window preference in the section Windows Specific in JMP Preferences.
 
Table 9.11 Descriptions of Background Map Options 
Images
None
Removes the background map that you selected in the Images column.
NASA Server
Shows a map from the NASA server.
Simple Earth
Shows a map of basic terrain.
Detailed Earth
Shows a high-resolution map with detailed terrain.
Web Map Service
Shows the map from the URL (Uniform Resource Locator) and the layer that you specify.
Boundaries
None
Removes the boundaries that you selected in the Boundaries column.
Boundaries for various regions
Shows borders for the map regions, such as Canadian provinces, U.S. counties, U.S. States, and world countries. The maps that you created from ESRI shapefiles are also listed here.
Customize the Map Image
After you add a map image, you can change certain display properties, such as adding state boundaries and setting the transparency level.
• To change the type of map or the boundaries that appear on the graph, right-click on the map, select Background Map, and then modify the options. (In Graph Builder, right-click on the map, select Graph > Background Map, and then modify the options.)
• To change the map transparency level, right-click the map, select Customize > Background Map, and then type a value between 0 and 1 (where 1 is completely opaque). Note that the other Transparency options (on the right-click and right-click Graph menu) do not affect map images.
Drag and Drop an Image into a Graph
To add an image that you created, generate your report and then drag and drop the image from your file system onto the graph in the report. After you add the image, JMP provides several options such as resizing, formatting, and rotating an image. Right-click the image and select Image to see these options.
The following example shows a bivariate plot of wind speeds in the Chicago area. The plot on the left includes arrows to illustrate the wind direction and speed. A map image was dropped onto the plot and resized to line up the markers with the stations that provided the wind data (each dot representing a station).
Figure 9.29 Example of a Custom Map Image
Note: Repeated changes to images can degrade image quality. If you are not happy with the results of sizing, scaling, or applying filters to the image, remove the image and start again.
 
Table 9.12 Descriptions of Image Options 
Lock
Locks the image in place so it cannot be moved.
Size/Scale
• Fill Graph: Resizes the image proportionately to fit the graph.
• Specify Size: Resizes the image according to the values that you enter. (The units for these values are the same as your graph axes.)
• Crop: Crops the image according to the values that you enter. (The units for these values are the same as your graph axes.) For example, the left edge might be positioned at 50. You type 60 next to Left, and the portion of the image between 50 and 60 is removed from the image.
Flip
• Flip vertical: Turns the image upside down.
• Flip horizontal: Flips the image left to right.
• Flip both: Flips the image both horizontally and vertically.
Rotate
Rotates the image the specified number of degrees. Enter a negative value to rotate the image counterclockwise.
Transparency
Changes the marker transparency level. Type a value between 0 and 1 (where 1 is completely opaque).
Filter
Provides filters found in many graphic editing programs to change the appearance of the image. Select a filter repeatedly to increase its effects on the image.
• Contrast: Optimizes the light and dark colors. Larger values lighten the image.
• Despeckle: Removes pixels that do not blend with surrounding pixels. For example, a black pixel surrounded by white pixels is converted to a white pixel.
• Edge: Darkens everything but the outlines of objects.
• Enhance: Reduces the contrast between pixels in a noisy image.
• Gamma: Balances the brightness of an image and the red, green, and blue (RGB) ratios. Larger values create a lighter image.
• Gaussian Blur: Blurs pixels by the specified radius. Larger radii create a smoother image. (In JSL, you can also specify the sigma value. Larger sigma values create a smoother image.)
• Median: Replaces each pixel color value with the median value of the surrounding pixels.
• Negate: Converts each pixel to its complementary color (such as pink to green and white to black).
• Normalize: Removes a percentage of the top and bottom color values. The color values are then stretched to fill the remaining image. This process increases the intensity of the colors.
• Reduce Noise: Finds the minimum and maximum color values and replaces them with values more consistent with the surrounding pixels. Larger values create a smoother image.
• Sharpen: Makes the edges of pixels more distinct.
Remove
Removes the image from the report.
Extract Data from an Image
JMP provides the ability to extract information from images into a data table and then analyze that information. Researchers at WildTrack.org analyze digital footprint photos in JMP to track endangered species. They drag and drop a footprint image into a JMP report and draw data points to capture the size and shape of the print. A JMP Scripting Language (JSL) script extracts those measurements into a data table. At that point, the researchers can analyze the data and determine whether the footprint is from a new animal. This method helps them track populations of endangered species in specific regions of the world.
Figure 9.30 Example of Extracting and Analyzing Data
The details for implementing this feature are beyond the scope of this book, because the needs of the user vary widely. For details about writing JSL scripts, see the Scripting Guide.
Add Graphics Elements to a Report
You can add text notes, lines, polygons, ovals, and rectangles to a report using graphics tools found in the toolbar.
Annotations
You can add editable text notes to a JMP report using the annotate tool . To add an annotation:
1. Select the annotate tool from the Tools menu or toolbar.
2. Click the location in the window where you want to add the annotation. Or, click and drag to size the annotation note. A white editable text box appears.
3. Enter text.
4. Click outside the annotation. The annotation turns yellow.
5. (Optional) Right-click the annotation to access the following options:
Background Color
Provides you with a color palette, from which you can select the background color for the annotation.
Text Color
Provides you with a color palette, from which you can select the color for the annotation’s text. The color of the font also defines the color of the annotation outline. If you select the same color for both the background and the font, the font does not show except for black and white. A black font on a black background changes to white, and a white font on a white background appears black.
Font
Lets you change the current font type, style, and size. To change the default font, see Fonts in JMP Preferences.
Tag Line
Attaches a line to the annotation that points to a place in the text, as shown below. To move the line with the annotation to a new position, press the CTRL key and drag the annotation.
Filled
Removes the background color from the annotation so it looks transparent. A transparent note is handy for putting titles and footnotes on a graph.
Editable
Makes the annotation editable by double-clicking on it.
Reanchor
Reanchors the annotation.
Delete
Deletes the entire annotation.
Note: When adding multiple annotations, press the SHIFT key when selecting the annotation tool for the first time. This causes subsequent clicks to add an annotation, and you do not have to select the annotate tool from the toolbar before the addition of each annotation.
Once you have added an annotation, you can do the following:
 
Table 9.13 Using Annotations 
Action
Instructions
Add to or edit an annotation
Click inside the text box.
Move an annotation
Click inside the annotation box and drag it. When an annotation is moved, it becomes selected, as indicated by a double blue line with handles around the perimeter.
Resize an annotation
Place the cursor on the handle of a selected note (showing in the middle of the edges and in the corners). The cursor appears as a single crossed arrow; drag to resize the annotation.
Delete an annotation
Highlight the annotation by clicking the handle of a note. Then press the Delete (or Backspace) key.
Add Shapes
You can add editable lines, polygons, and simple shapes (ovals or rectangles) to a JMP report using the drawing tools . The following sections describe how each of these tools can be used.
Note: Each graphics tool remembers the most recent options chosen. This is useful if you need many annotations or other graphics with the same characteristics. For example, suppose you want many thick green lines with an arrow on one end. Create a line the way you want it, set the options, and subsequent lines appear with those options in effect. The options persist until you change them.
Add a Line
To add a line to a report window:
1. Click the line tool in the tool palette.
2. Click and drag where you want to insert the line. The line appears selected, showing handles on both ends.
3. Click and drag the line to move it.
4. Click a handle and drag to rotate the line.
5. Right-click a line for a menu of options to tailor the appearance of the line, as follows:
Point to and Point from
Places arrows on either end (or both ends) of the line.
Thick
Alternately displays the width of a line as thick or thin. A line is thin by default.
Dashed
Alternately displays a line as dashed or solid. A line is solid by default.
Color
Displays the JMP color palette to change the color of the shape.
Reanchor
Reanchors the shape.
Delete
Removes the shape from the report surface. You can also remove the shape by selecting it and then pressing the DELETE (or BACKSPACE) key.
Add a Polygon or Spline
To add a polygon (also known as a spline) to a report window:
1. Click the polygon tool in the tool palette.
2. Click to create the beginning point for the first side of a polygon.
3. Click again at the location where you want to complete the first side and begin an adjacent side. A square selection box with handles appears around the polygon area.
4. Click a third time to complete the second side.
5. Continue this process until the polygon is the way you want it. Each time a side is complete, the selection box adjusts to encompass the polygon sides.
6. Double-click to release the polygon tool.
Once you have added a polygon, you can perform the following actions:
 
Table 9.14 Working with Polygons 
Action
Instructions
Select or deselect the polygon
Click the edge of a completed polygon.
Resize the polygon
Select it and drag one of the selection box’s handles.
Move the polygon
Click between the box’s handles and drag the selection box.
Change the number of sides of the polygon
Click and drag the sides to form the new shape.
Right-click a polygon for a menu of options to tailor its appearance, as follows:
Filled
Alternately fills or empties the area of the shape.
Raised
Displays thick shaded lines around the shape. If the shape is also filled, the lower edge of the figure appears raised, giving it a three-dimensional look.
Smooth
Smooths the vertices of a polygon to produce a Bezier curve. The smoothed figure is reshaped and resized the same way as the polygon, and can be filled and raised.
Closed
Alternately opens or closes the last segment of a polygon.
Color
Displays the JMP color palette to change the color of the shape’s sides, and its fill color when the Filled option is in effect.
Reanchor
Reanchors the shape.
Delete
Removes the shape from the report. You can also remove the shape by selecting it and then pressing the Delete (or Backspace) key.
Add an Oval or Rectangle
To add an oval or rectangle to a report window:
1. Click the simple shape tool in the tool palette.
2. Click and drag where you want to insert the shape. An oval appears with a selection box around it.
3. (Optional) To turn the oval into a rectangle, right-click on the oval and select Shape > Rectangle.
4. Double-click to release the simple shape tool.
Once you have added the shape, you can do the following:
• Select the shape and drag one of the selection box handles to reshape or resize.
• Click and drag an edge of the selection box (located between the handles) to move it.
• Select the shape, and then right-click it for a menu of options to tailor its appearance, as follows:
Filled
Alternately fills or empties the area of the shape.
Raised
Displays thick shaded lines around the shape. If the shape is also filled, the lower edge of the figure appears raised, giving it a three-dimensional look.
Shape
Displays a submenu whose options transform the shape into either an oval or a rectangle when selected.
Color
Displays the JMP color palette to change the color of the shape’s sides and its fill color when the Filled option is in effect.
Reanchor
Reanchors the shape
Delete
Removes the shape from the report. You can also remove the shape by selecting it and then pressing the Delete (or Backspace) key.
Add Graphics
To enhance your graphs with logos, pictures, or any other type of graphic, you can paste it into a report in .bmp, .jpeg, or .png format. You can also drag and drop graphics into reports.
To add graphics:
1. Open the graphic file and select the graphic. Copy it to the computer’s clipboard.
2. Right-click inside a graph.
3. Select Edit > Paste Background Image. The graphic is inserted at the point in the graph that you right-clicked.
You can also add the graphic to the end of a report window: copy the graphic onto your computer’s clipboard, making sure the report is the active window and selecting Edit > Paste.
Customize Graphical Elements
Graphs consist of markers, lines, text, and other graphical elements that you can customize. For example, in a Scatterplot Matrix graph, you might want to highlight data points in one of the bivariate graphs with a pink solid marker. In a Contour Plot graph, you can increase the width or transparency of the contour lines.
Example of Customizing a Contour Plot
1. Open the Little Pond.jmp sample data table.
2. In the Table panel, click on the red triangle next to Contour Plot and select Run Script.
3. Click on the red triangle next to Contour Plot for Z and deselect Fill Areas.
Figure 9.31 Contour Plot Before Customization
4. Right-click on the plot and select Customize.
The Customize Graph window appears.
Figure 9.32 Customize Graph Window
5. Click on Contours.
6. Change the Line Width to 3.
7. Click on Boundary.
8. Change the Line Width to 2.
9. Click on the color next to Line Color and select a shade of green.
10. Click OK.
Figure 9.33 Customized Contour Plot
The graphical elements that you can customize differ on each graph. For example, in a Control Chart graph, there are three line elements (Center Line, Limits, and Connect Line). In other graphs, the line element might be named Line or Custom.
To customize graphical elements in the current graph:
1. Right-click the graph and select Customize.
2. Select the element that you want to change, and then modify the properties.
Your changes are immediately shown on the graph.
3. Click OK to save your changes to the current graph.
Each element can include properties for line color, marker style and size, text style, and so on. Here are some common properties:
Line Color
Changes the color of the line. Click to select any color in the window. Right-click to choose from more colors.
Line Style
Changes the style of the line. Click to select one of five different styles.
Line Width
Changes the width of the line. Click in the box and enter the desired line width in points.
Marker
Changes the marker shape or size. Click to change the shape. Right-click to change the size. For more information about markers, refer to Use Markers.
Line of Fit
Changes the color, width, or style of the line.
Text Color
Changes the color of the text.
Font
Changes the font, style, and point size of the text.
Text Style
Changes the text alignment to centered, left-aligned, or right-justified. The Fill option applies the selected color to the background.
Fill Color
Changes the color of objects such as box plots and Fit Confidence regions.
Transparency
Changes the marker or label transparency. Enter the level of transparency to draw markers (points) on the graph. The degrees of opacity ranges from 0 (clear) to 1 (opaque). For more information about changing the transparency of markers, see Specify Marker Transparency.
Create Scripts for Graphical Elements
In addition to customizing graphical elements, you can write JSL scripts that add elements. These scripts run when you display the graph. You can write the scripts from scratch, or you can select from the following lists of commands and scripts, accessed by clicking on the Add a new script button :
• Use the Templates list to insert a single JSL command. For example, the Polygon option inserts the Polygon command. The text enclosed in underscores are placeholders for point values, which you replace with your own values.
Polygon([_x0_, _x1_, ... ], [_y0_, _y1_, ...]);
• Use the Samples list to insert a script that creates elements such as bubble plots and sine waves. In this list, the Polygon option shows examples of the Transparency, Fill Color, and Polygon values, which you replace with your own values.
Figure 9.34 The Polygon Sample Script
In some graphs, you can view the JSL that creates graphical elements. Figure 9.35 shows the Group Label script for a Discriminant Analysis graph. The script defines markers and text for group labels. The commands included in these built-in scripts cannot be modified or deleted. You can insert commands from the Templates or Samples list, but you cannot click in the window and type new commands.
Figure 9.35 Example of JSL that Creates Group Labels
For information about JSL, see the Scripting Guide book.
To create a graphics script:
1. Right-click on the graph and select Customize.
2. Click the Add a new script button () to create a new script.
The default name, Script, is highlighted.
3. With the default name highlighted, type a more descriptive name, and then press ENTER. (If you already moved the cursor and the name is no longer highlighted, double-click Script, and then type the new name.)
4. Do one or more of the following:
– Enter JSL in the Properties window.
– Select one or more JSL commands from the Templates list, and modify the placeholder text. For example, change the Pen Color option from “blue” to “red.”
– Select one or more sample scripts from the Samples list and modify, if necessary.
5. (Optional) Click Apply to update the graph with your changes without closing the window. Unlike other property changes, script changes to not take effect until you click Apply or OK.
6. Click OK to save your changes.
One of the following occurs:
– The element that you created appears on the graph.
– An error message appears if the script contains an error. Select View > Log to read about the error, and then correct the script.
To delete a script that you created, select the script and then select the Delete selected script button ().
Change the Drawing Order of Graphical Elements
The graphical elements are drawn in the order in which they are listed. The first element on the list is drawn first, so it appears behind all other graphical elements. If one element hides another, you can rearrange the order of the elements.
To rearrange graphical elements:
1. Right-click the graph and select Customize.
2. Select the element that you want to move.
3. Click the Move up in drawing order button () or Move down in drawing order () button one or more times until the elements are in the order in which you want them drawn.
4. Click OK.
Save Your Customizations
The graph customizations apply to the current graph and are also used when you redo an analysis. To re-create your graph at a later time with its customizations, select Script from the red triangle menu, and then select one of the Save options. For example, you can save the script to the data table, which applies your customized properties each time you run the script. See Save Your Analysis as a Script in Save and Share Data for details.
Copy Your Customizations
You can copy your customizations from one graph to another. All objects that you created or modified, such as colored text or lines, are pasted to the other graph.
To copy lines from one graph to another, see Copy and Paste Graph Contents.
To copy other objects:
1. Right-click in the graph with custom elements and select Edit > Copy Customizations.
2. Right-click in the destination graph and select Edit > Paste Customizations.
Note: The customizations are pasted into all similar graphs when you press CTRL, click, and then paste.
The objects appear on the current graph and are added to the list of customized elements.
Note: The copy customizations feature copies only the elements that you added or modified. It does not copy the other contents of the graph.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.212.246