Class scatter plots group data into bins and apply a different property to each bin. You can apply different symbol properties to data based on a bin, class, or data value in Grapher. The class value can be either a number or text.
Assign different symbols to different classes
The steps below assume that your XY coordinates are in columns A and B and your class criteria is in column C.
- Click the Home | New Graph | Class/Bubble | Class Scatter Plot (
) command.
- Select the worksheet and click Open.
- Click on the Class Scatter Plot in the Object Manager.
- In the Property Manager, click on the Plot tab.
- Click the Edit button next to the Classes command.
- In the Edit Classes dialog, change the Number of classes to the number of bins in the worksheet.
- Set the bin method:
-
- For numeric bins: change the Method to "Equal number." The classes should be listed as 1-2, 2-3, 3-4, etc.
- For text bins: change the Method to "Name". The classes should list the text from the column.
-
- To change the color, style, or size associated with any of the symbol, double-click on the class name in the Class Name column. The Properties dialog will appear.
- To change all classes at once, click the Symbol sizes... or Classes symbol... buttons.
- When all classes show the correct symbol, color, and size, click OK. The plot will update each class with the symbol you selected.
Assign different symbols to a single class
Filter the data for an individual class by applying different sizes, colors, and symbols to a single variable. This method works for text and numeric class variables.
The steps below assume that your XY coordinates are in columns A and B and your class criteria is in column C.
- Click the Home | New Graph | Class/Bubble | Class Scatter Plot (
) command.
- Select the worksheet and click Open.
- Click on the Scatter Plot in the Object Manager.
- In the Property Manager, click on the Plot tab.
- In the Class variable field, click None and select Column C: Class from the dropdown menu. All points with a bin value in Column C are displayed.
- Click the Edit button next to Classes.
- In the Edit Classes dialog, double-click to select your bin.
- Change the symbol or symbol set for the bin. Click OK. Repeat this process for each class.
- When you are finished in the Edit Classes dialog, click OK. Your plot will update to reflect the changes.
Assign one symbol style and size for a single class
The steps below assume that your XY coordinates are in columns A and B and your class criteria is in column C. Note that the class criteria must be numeric for this method to work correctly.
- Click the Home | New Graph | Class/Bubble | Class Scatter Plot (
) command.
- Select the worksheet and click Open.
- Click on the Scatter Plot in the Object Manager.
- In the Property Manager, click on the Plot tab.
- Change the Class variable to the worksheet column which contains your class values. To determine the worksheet value to enter for a particular symbol, click the Edit button next to Classes.
- Click Symbol sizes in the Edit Classes dialog.
- Set the default symbol size for all symbols and click OK.
- In the Edit Classes dialog, click the Classes symbol button.
- Set the default symbol shape/style for all class symbols and click OK.
- Click OK in the Edit Classes dialog. Your graph symbols will update.
Updated May 2023
Comments
Please sign in to leave a comment.