6.8.2 3Ys Y-YY


This tutorial will show how to create a graph with three Y axes; one left Y axis and double right Y axes.

3Ys Y-YY tutorial 21.png

Minimum Origin Version Required: Origin 2015 SR0

What you will learn

  • Create a graph with three Y axes; one left Y axis and double right Y axes.
  • Customize scatter plots.
  • Change axis scale, type, title, etc.
  • Add an axis to an existing graph.
  • Update the graph legend.


This tutorial is associated with <Origin EXE Folder>\Samples\Tutorial Data.opj.
You will also find this graph in Learning Center. Select Help: Learning Center from the menu or press the F11 key. From the Samples in list, choose Graph Sample: Multiple Axis.

  1. Open Tutorial Data.opj and browse to the 3Ys Y-YY folder in Project Explorer (PE).
  2. Highlight all data columns in the worksheet, select Plot > Multi-Panel/Axis : 3Ys Y-YY main menu to create a graph with three Y axes - one left Y and two right Y.
  3. Customize data plots:
    • Double-click on the plot to open the Plot Details dialog box. In the left panel, select the plot in Layer1, then change the plot type, symbol and color as shown below (be careful not to clear the check box to the left of the plot):
      3Ys Y-YY tutorial 2.png
    • Click the data plot in Layer2 and change the plot type and symbol shape as shown in the following:
      3Ys Y-YY tutorial 3.png
    • Choose the Error bar plot in Layer2, then change its color to Black.
    • Choose the plot in Layer3. Change the Plot Type to be Line + Symbol and go the Symbol tab (right panel), choose the following settings:
      3Ys Y-YY tutorial 5.png
    • Select the Line tab (with Layer 3 still selected) and change Connect to B-Spline. Click OK to close Plot Details.
      3Ys Y-YY tutorial 7.png
  4. Double-click on the X axis to open the Axis dialog box. Configure the X axis scale as shown in the following:
    3Ys Y-YY tutorial 8.png
  5. Go to Tick Labels tab and click Top icon on the left panel, check the Show box and show tick labels of top axis.
    3Ys Y-YY tutorial 19.png
  6. Then go to Line and Ticks tab, check Show Line and Ticks box to show line and ticks for top axis and click on Apply.
    3Ys Y-YY tutorial 20.png
  7. Go to the Scale tab and click the Vertical icon on the left panel and duplicate the following settings:
    3Ys Y-YY tutorial 10.png
  8. Go to the Title tab, select Show and change the title Text to Deposition Pressure (Torr) and select Auto from color drop-down list.
    3Ys Y-YY tutorial 11.png
  9. Click Apply to and apply the axis settings to layer 1.
  10. Set the Layer drop-down list to 2 and in the left panel, choose Right.
  11. Click the Scale tab and set From = 765 and To = 795, and set the Major Ticks increment Value to 10. Click the Title tab, check Show and change the axis title to Annealing Temperature (\+(0)C) and select Auto from the Color drop-down list.
  12. Set the Layer drop-down list to 3 and in the left panel, choose Right. On the Scale tab, set the axis scale to read from 0 to 6 with a major tick increment Value = 1. On the Title tab, check Show and enter \g(D)T\-(c) (K) for Text and set the Color drop-down list to Auto.
  13. Click OK to apply settings and close the dialog box. On the graph, right-click the legend object and choose Properties from the shortcut menu. This opens the Object Properties dialog box. Go to Frame tab, and change Frame to Shadow. Go to Text tab, and enter the text shown below, then click OK to close the dialog box. Reposition the legend object, as needed.
    \l(1.1) As Grown
    \l(2.1) Annealed
    \l(3.1) \g(D)T\-(C)
    3Ys Y-YY tutorial 18.png
  14. Add a graph title by creating a text object and typing Characteristics of Samples Grown Under Different Conditions. Reposition as needed.
  15. Right-click outside the graph (but still within the white area) and select Fit Page To Layers.... Accept the defaults and click OK to adjust the page size to better fit the graph layers.
  16. To the right side of the graph, click once to select the axis titles and the blue Y axis, then drag to reposition them so that they don't overlap one another. Your graph should now look something like this:
    3Ys Y-YY tutorial 21.png