6.9.3 Ternary Contour


This tutorial will show you how to create a Ternary Contour graph and to overlay a scatter plot.

Tutorial TernaryContour 4.png

What will you learn

  • Create the Ternary Contour graph
  • Overlay a scatter plot using the Plot Setup dialog box.
  • Customize the graph using the Plot Details dialog box.


This tutorial is associated with <Origin EXE Folder>\Samples\Tutorial Data.opj.
Also, you can refer to this graph in Learning Center. (Select Help: Learning Center menu or press F11 key , and then open Graph Sample: Contour)

  1. Open Tutorial Data.opj and browse to the Ternary Contour folder in Project Explorer (PE).
  2. Activate Book1A, highlight the entire worksheet and select Plot > Contour: Ternary Contour to create a Ternary Contour graph. The graph should look like this: Tutorial TernaryContour 1.png
  3. Now we will overlay a scatter plot on the ternary contour graph. Right-click on the layer icon and select Plot Setup from the context menu. This opens the Plot Setup dialog box.
  4. In the upper-left corner of the dialog box, set Available Data to Worksheets in Folder. Select Book1, set Plot Type to Scatter and select check boxes to the left of columns A, B and C so that they plot as X, Y and Z, respectively. Click Add to add the scatter plot to Plot list at the bottom of the Plot Setup dialog box. The settings should duplicate those shown in the following image:
    Tutorial TernaryContour 1b.png

    In order to show all three panels in Plot Setup dialog, please expand Plot Type panel by clicking Button Expand Preview Up.png and expand Available Data panel by clicking Button Expand Preview Up.png again.

    Please refer to Plotting using Plot Setup for more information.

  5. Now we will customize the contour graph and the scatter plot. Double-click on the contour plot to bring up the Plot Details dialog box.
  6. Select the Color Map/Contours tab, click on the Level heading, then duplicate the settings as shown in the image.
    Tutorial TernaryContour 2.png
  7. Click OK to close the Set Levels dialog box. Click on the Fill heading to open the Fill dialog box. Select Load Palette. Select Rainbow from the Palette list and click OK.
  8. In the left panel of Plot Details, select the scatter plot and customize the symbols as follows (note that to enable the Fill Color list, you must click the downward-pointing arrow beside Preview and choose one of the unfilled symbols from the gallery):
    Tutorial TernaryContour 2b.png
  9. Click OK to close the Plot Details dialog box.
  10. Drag the color scale to resize it and move it to a suitable place on the graph. The graph should now look something like this:
    Tutorial TernaryContour 4.png