For the latest version of JMP Help, visit JMP.com/help.


Publication date: 06/21/2023

Assign Colors or Markers to Rows

Assign colors or markers to rows to differentiate rows in a data table.

If you assign a color to a row, the points representing the values in that row are colored in the plot.

If you assign a marker to a row, the point is replaced with the marker in the plot.

You can also assign colors or markers based on column values.

Assign a Color to Rows

Assigning a color to selected rows means that the points in plots appear in the color that you select. In the data grid, the active color assigned to a row appears next to the row number.

To assign rows a color

1. Highlight one or more rows that you want to assign a color to.

2. Right-click the highlighted rows and select Rows > Colors.

3. Select one of the available colors.

Tip: To clear an assigned color from the selected rows, assign the color black.

Add Markers to Rows

To replace the standard points in plots with a marker, use the JMP markers palette. In the data table, these markers also appear next to row numbers.

1. Highlight one or more rows that you want to apply the marker to.

2. Right-click the selected rows and select Markers, and then select the marker shape.

Select Other to create custom markers. You can type alphabetic characters, numerals, and other keyboard symbols.

Tip: To return to the default marker, select the initial dot marker. To clear an assigned color from the selected marker, select the color black.

Assign Colors or Markers to Rows Based on Column Values

You can assign colors or markers to your data table rows based on the values found in a particular column. For example, in a column called Sex, you could assign all rows whose value is F a red circle marker. All rows whose value is M could have a green plus marker. These colors and markers replace the default black dot in plots and appear next to its row number in the data table.

To assign colors or markers to rows based on column values

1. Select Rows > Color or Mark by Column.

2. Select the column to color and or mark.

Figure 4.29 Color or Mark by Column 

Color or Mark by Column

3. Select the Colors and Markers schemes to apply.

A preview of your selection appears under Row States.

4. (Optional) Select any additional options. See Color or Mark by Column Options.

5. Click OK.

6. (Optional) To shade all rows according to their row state, right-click in the row numbers area within the data grid and select Color Rows by Row State.

From then on, the rows are shaded with the color that you assign to the rows.

Color or Mark by Column Options

Colors

Select a color theme to assign different colors to the rows in your data table. Color assignment is based on the values of the selected column.

Continuous Scale

Assigns colors in a chromatic sequence based on the values in the highlighted column.

Reverse Scale

Assigns colors in a reversed chromatic sequence based on the values in the highlighted column.

Markers

Assigns a different marker to each row in your data table based on the values found in the column that you highlighted.

Make Window with Legend

Includes a legend with your new characteristics so that you can easily identify which colors and markers correspond with which row.

Save To Column Property

Saves the color and marker information as a column property. The rows in the selected column of the data table are colored, based on the color theme.

Save To Table Property

Saves the color and marker information as a table property.

Excluded Rows

Assigns colors or markers to rows that are excluded.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).