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.
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 Origin Central. Select Help: Origin Central from the menu or press the F11 key. From the Samples in list, choose Graph Sample: Multiple Axis.
- Open Tutorial Data.opj and browse to the 3Ys Y-YY folder in Project Explorer (PE).
- Highlight all data columns in the worksheet, then on the Plot menu, click Multi-Y: 3Ys Y-YY to create a graph with three Y axes - one left Y and two right Y.
- 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):
- Click the data plot in Layer2 and change the plot type and symbol shape as shown in the following:
- 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:
- Select the Line tab (with Layer 3 still selected) and change Connect to B-Spline. Click OK to close Plot Details.
- Double-click on the X axis to open the Axis dialog box. Configure the X axis scale as shown in the following:
- Go to Tick Labels tab and click Top icon on the left panel, check the Show box and show tick labels of top axis.
- 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.
- Go to the Scale tab and click the Vertical icon on the left panel and duplicate the following settings:
- Go to the Title tab, select Show and change the title Text to Deposition Pressure (Torr) and select Auto from color drop-down list.
- Click Apply to and apply the axis settings to layer 1.
- Set the Layer drop-down list to 2 and in the left panel, choose Right.
- 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.
- 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.
- 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)
- Add a graph title by creating a text object and typing Characteristics of Samples Grown Under Different Conditions. Reposition as needed.
- 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.
- 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: