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.  Each method is described in detail below.

 

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

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


Method 2:
You could use the "bin" 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 bin criteria is in column C. Note that the bin criteria must be numbers 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 Line/Scatter Plot 1 in the Object Manager.
  4. In the Property Manager, click on the Symbol tab. 
  5. Change the Symbol column to the column in your worksheet that has the bin 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 where the "bin" column is the class. 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 bin criteria is in column C. The bin value can be either a number or text.

  1. Click the Graphs | Create | Basic | Class Plot (Grapher 12 class plot) command.
  2. Select the worksheet and click Open
  3. Click on the Class Scatter Plot 1 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 button.
  10. When all classes are showing the correct symbol, color, and size, click OK. Each class will show the proper symbol.

 

Updated March 29, 2016

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.