# 6.8.1 Double Y

## Summary

This tutorial will show how to create a graph with double Y axes.

Minimum Origin Version Required: Origin 2015 SR0

## What you will learn

• Create a graph with double Y axes
• Customize scatter plots
• Change axis scale, type, title, etc.
• Update legend

## Steps

This tutorial is associated with the project: \Samples\Graphing\Double Y.opj.

1. Open the project <Origin Installation Directory>\Samples\Graphing\Double Y.opj and activate the workbook.
2. Highlight four columns of data in the worksheet, then choose menu Plot > Basic 2D : Double-Y to create a graph with double Y axes.
3. Customize scatter plots:
• Double click on the plot to open the Plot Details dialog box. In the left panel, select the plot in Layer1, and set the plot type to Scatter, symbol to Triangle and size to 10 (Hint: the box accepts text entries).
• Choose the first plot in Layer2, then change the Plot Type, Size and Color as shown below.
• Choose the Error bar plot in Layer2, then change Color to Gray in the Error Bar tab.
• Click OK to apply your customizations and close the dialog box.
4. Double click on X axis to open the Axis dialog box. On the Scale tab for X Axis, set the X axis scale to be from 92 to 83 with increment of -2.
5. Click Vertical icon on the left panel and go to the Scale tab for Y Axis and apply the following settings to the left Y axis:
6. Click Horizontal icon on the left panel to go to Title tab and change the X Axis title to Transition Temperature (K):
7. Click Left icon on the left panel to change the Y Axis title to Deposition Pressure (Torr).
8. Set the Layer drop-down to 2 to switch to Layer 2 controls. Repeat the settings as in step 5 - 6, but with scale From = 765, To = 795, Type = Linear. For Major Ticks, change the Value for Increment to 10. Go to Title tab and change Text to Annealing Temperature (\+(0)C).
9. Go to the Line and Ticks tab and set both Major Ticks and Minor Ticks to In and click OK to apply settings.
10. Click the legend to select it, then right-click and choose Properties from the shortcut menu. This opens the Object Properties dialog box. Go to Frame tab, change Frame to Box. In the Text tab, enter the following:
\l(1.1) As Grown
\l(2.1) Annealed
11. Click OK to close the Properties dialog box. Move the legend to an appropriate position.