Follow

How do I use bins or classes for different symbols in Grapher?

In Grapher, there are a few ways that different symbols can be used for each bin value or class.  Each method is described in detail below.

 

Method 1: 
You could use the "class" column as a clipping column. This method allows different sizes, colors, and symbols for each class. To use this method, you would need to create as many line/scatter plots as there are classes in your worksheet. The steps assume that the XY coordinates are in columns A and B and the class criteria is in column C. The class value can be either a number or text.

  1. Click the Home | New Graph | Basic | Scatter Plot (Grapher 12 scatter plot) command.
  2. Select the worksheet and click Open.
  3. Click on the Scatter Plot in the Object Manager.
  4. In the Property Manager, click on the Data Limits tab. 
  5. Click the Set button in the Criteria field.
  6. In the Criteria dialog, check the box next to Use column criteria.
  7. Click the Add button. 
  8. In the Enter Criteria Value dialog, type in the first bin value (such as 1 or a) and click OK
  9. Change the column to Column C and click OK
  10. All points with the bin value (of 1 or a) in Column C are displayed. 
  11. Click on the Symbol tab and change the symbol properties to the desired style and color for the first bin. 
  12. Click on the Plot tab.
  13. Click the Create button in the New plot field.
  14. Set the Y column to Column B (if it changed).
  15. Repeat steps 3-11 for the second bin. This sets the clipping and symbol process for each additional line/scatter plot for each bin value.
  16. Repeat steps 13-114, adding an additional line/scatter plot until all bins are displayed on the graph.

Method 2:
You could use the "class" column as a symbol indicator column. This method allows different symbols for each bin, but all of the symbols use the same color and size. The steps assume that the XY coordinates are in columns A and B and the class criteria is in column C. Note that the class criteria must be numeric for this method to work correctly.

  1. Click the Graphs | Create | Basic | Scatter Plot (Grapher 12 scatter plot) command.
  2. Select the worksheet and click Open.
  3. Click on the Scatter Plot in the Object Manager.
  4. In the Property Manager, click on the Symbol tab. 
  5. Change the Symbol variable to the column in your worksheet that has the class values in it. The symbols will change based on the value in the column. The value is determined by the Symbol number that is read from the bin column.
  6. To determine what value to use in the worksheet to get a particular symbol, click the Symbol option. In the list that appears, select a symbol and the symbol shape and number are shown. Use this number in your "bin" column.


Method 3:
You could create a classed scatter plot. This method allows different symbols, colors, and sizes for each bin. The steps assume that the XY coordinates are in columns A and B and the class criteria is in column C. The class value can be either a number or text.

  1. Click the Home | New Graph | Basic | Class Scatter Plot (Grapher 12 class plot) command.
  2. Select the worksheet and click Open
  3. Click on the Class Scatter Plot in the Object Manager.
  4. In the Property Manager, click on the Plot tab.
  5. Click the Edit button next to the Classes command. 
  6. In the Edit Classes dialog, change the Number of classes to the number of different bins in the worksheet. 
  7. Set the bin method:
    1. For numeric bins: change the Method to "Equal number."  The classes should be listed as 1-2, 2-3, 3-4, etc.
    2. For text bins: change the Method to "Name". The classes should list the text from the column.
  8. To change any of the values or the symbol color, style, or size associated with a class, select the class and click the Properties button.  
  9. To change all classes at once, click the Symbol sizes... or Classes symbol... buttons.
  10. When all classes are showing the correct symbol, color, and size, click OK. Each class will show the proper symbol.

 

 

Updated December 05, 2017

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.