Tutorial: Create a Ternary Diagram of Three Variables

Estimated time: 2 minutes.

The Ternary command in the Stats menu is used to create a ternary plot for three variables read from the main datasheet. We will use a different sample file than we used in the earlier lessons of this section.

  1. Be sure you’ve accessed the RockWorks Utilities datasheet and opened the Samples project folder.
  2. Open a new sample file:
    1. In the Project Manager pane along the left edge of the program window, expand the Datasheet File heading if necessary.
    2. Look for the file named Soil_Properties_01.RwDat.
    3. Double-click on that file name to open it.
    4. If you are prompted to save changes to the existing datasheet, click No.

The program will display this file in the main Utilities datasheet. This data set contains an ID, symbol, X and Y location coordinates, and elevation for each sample site. It then lists sand, gravel, and clay percentages, Ca and Mg measurements, several geotechnical measurements, and soil colors. For this exercise, we will display the sand/gravel/clay components in the ternary plot.

  1. Select the Ternary | Single option from the Statistics menu.

  2. Input Columns: Use these prompts along the left to establish data setup. The name of the currently-selected datasheet column for each required input field is displayed below each prompt. To change a column name for any of the prompts simply click on the small down-arrow and select another column name. The prompts and column names you need to establish are listed here:
    1. Upper Vertex: Set to the column named Sand for the data to be represented in the upper vertex in the diagram.
    2. Left Vertex: Set to the column Gravel for the data to be represented in the lower-left vertex in the diagram.
    3. Right Vertex: Set to the column Clay for the data to be represented in the lower-right vertex in the diagram.

  3. Titles: Expand this heading to establish the diagram and axis titles. (These may already be displayed as defaults.)
    1. Primary: Click here and type in:  Sand/Gravel/Clay Distribution    and click OK.
    2. Secondary: Click here and type in:  Site 27B     and click OK.
    3. Vertex Labeling: Expand this option and set the vertex titles as shown:
      • Upper Vertex: Sand
      • Left Vertex: Gravel
      • Right Vertex: Clay

  4. Symbols & Contours: Click the Options button to the right.
    1. Symbols: Check this option.
      1. Uniform: Uncheck this. 
      2. Column-Based: Check this option. 
        • Symbol Column: Click here and choose the "Symbol" column.
        • Dimensions: Choose Uniform, at a size of 3.0.
      3. Circles: Uncheck this. 
      4. Table-Based: Uncheck this. 
      5. Images: Uncheck this. 
    2. Symbol Labels: unchecked
    3. Contour Lines: unchecked
    4. Colored Intervals: unchecked
      In your own work you may want to include point labels, if your data set is not this large. You may also want to request line and/or color-filled contours to illustrate point density.
    5. Click OK to close the Options window.
       
  5. Gridding Method can be ignored since you have not selected any contouring.
     
  6. Annotations & Embellishments: Click on the Options button to the right.
    1. Subdivisions: Click on this item.
      1. Major Subdivisions: Check this option.  Click on the Line Styles sample to select thin, black lines.
      2. Minor Subdivisions: Be sure this is checked.  Click on the Line Styles sample to select thin lines, and set the color to light gray.
      3. Intervals: Choose Major = 10% / Minor = 2%
    2. Perimeter: Check this option.
    3. Axis Labeling: Check this option, and click on the tab to choose 20% for the interval.
    4. Tick Marks: Check this option, and choose 20% for Increments and Internal for the locations.
    5. Classification Overlays: Un-check this.  These new options will plot a pre-defined diagram in the background with your data points and/or contours in the foreground.  The currently available templates include Folk's (1954) siliclastic classification system, Schlee's (1973 - after Shepard) siliclastic classification system, Shepard's 1954 siliclastic classification system, and the USDA soil classification system.
    6. Click OK to close the Annotation & Embellishment Options window.
       
  7. Click the Process button at the bottom of the Ternary Diagram window to proceed.

The program will read the values from the Sand, Gravel, and Clay data columns. Each sample will be normalized such that the three components add up to 100%. The symbol for that sample will be plotted at that point in the diagram, with 100% sand represented at the top, 100% gravel represented at the left vertex, and 100% clay at the right vertex.

In the example below, the single sample contains 60% sand, 30% shale, and 10% clay.

  1. Close this window by clicking the Close button (). Answer No to the save-file prompt.

 


  Ternary Diagrams

  Back to component menu     |     Next (pie chart map

RockWare home page