27.10.1 Piper/Trilinear Diagram


Piper Diagram.png

Data Requirements

A piper (trilinear) diagram is a specialized graph type for charting the chemistry of a water samples.

Origin's piper diagram is created from worksheet data with column plot designations XYZXYZ. Each column contains the percentage value of each ion group. Column order is critical and should be: Ca^{2+}, Mg^{2+}, Na^{+}+K^{+}, Cl^{-}, SO_{4}^{2-}, CO_{3}^{2-}+HCO_{3}^{-} The percentage value of each cation group is calculated based on the total concentration of calcium, magnesium, and sodium plus potassium cations; The percentage of each anion group is based on the total concentration of sulfate, chloride, and carbonate plus hydrogen carbonate anions.

Creating the Graph

Highlight the source data and open the plotpiper dialog by either of the following:

  • select Plot > 2D : Ternary: Piper from top menu

OR

  • click the Button Piper.png button in the 2D Graphs toolbar.

Piper Button from Toolbar.png

The plotpiper Dialog Box

Plotpiper Dialog Box.png

Input Specify the XYZXYZ input data range for the piper plot.
Sample ID Specify the column used for the sample ID. This column will be used as the symbol color and shape indexing column in the piper plot, and this column will supply labels in the point by point legend.
Total Dissolved Solids Specify the data range for the amount of total dissolved solid. This column will be used to control symbol size in Layer 1 (the "diamond") of the piper plot.
Output Graph Specify where to output the graph.

Controls

Three worksheet templates are provided to convert the original concentration data to percentage values and organize them according to data requirements for piper plot. You can access these three templates by the menu item File:New:From Template:

  • Convert MEq to Percentage.ogw
  • Convert mgl to Percentage.ogw
  • Convert PPM to Percentage.ogw

To control the gaps between each layer (i.e. each rhomb), you can open the Layer Properties dialog by Format:Layer Properties menu item and go to the Size/Speed tab for Layer 2 and change the value in the Left text box.

A user-defined dataset can be used to index the color/shape/interior of the symbols in the piper chart, you can also customize the increment list of color, shape and interior in the Color List, Shape List and Interior List tabs in the Plot Details dialog.