# 6.11.1 Polar Contour

## Summary

This tutorial will show you how to create a Polar Contour graph from both XYZ worksheet data and matrix data.

Minimum Origin Version Required: 2015 SR0

## What will you learn

• Create a Polar Contour graph from both XYZ data and matrix data
• Customize the graph using the Plot Details dialog box

## Steps

### Plot Polar Contour from XYZ data

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

1. Open the Tutorial Data project and browse to folder Polar Contour in Project Explorer.
2. Activate Book2BA containing the temperature and location data and select column C. Select Plot > 2D: Polar: Polar Contour theta(X) r(Y) from the menu to create a polar contour graph. The graph should look like this:

3. Next, we will customize the contour graph using the Plot Details dialog box. Double-click on the contour plot to bring up the Plot Details dialog then select the Color Map/Contours tab and click the Fill heading. Edit dialog box settings as shown in the following:

4. Click the Contouring Info tab and select the Layer Boundary radio button.

Click OK to close the Plot Details dialog box.
5. Next, we will customize the graph axes. Double-click on the axes to open the Axis dialog box, then...
• Go toScale tab and make sure Angular is chosen in the left panel. Under the Major Ticks tree node, set the Type to By Increment and Value to 60.
• Go to Tick Labels tab and select Angular - Outer in the left panel. In the right panel, go to Display tab, select Tick-indexed dataset in Type drop-down list and then select [Book3B]Sheet1!B"Longitude" from the Dataset Name drop-down list.
• Go to Scale tab, and select Radial in the left panel. In the right panel set From and To to 0 and 7. Also under the Major Ticks tree node, set the Type to By Increment and Value to 2 .
• Go to Tick Labels tab. Pressing Ctrl key and select both Radial - Outer 1 and Radial - Outer 2 in the left panel. In the right panel, go to Display tab, select Tick-indexed datasetin Type drop-down list, then select [Book3B]Sheet1!A"Latitude" from the Dataset Name drop-down list.
• Go to Grids tab, and make sure Radial is selected in the left panel. Edit the dialog box settings as in the following image. Click OK to close the Axis dialog box.
6. Double-click on the Color Scale to open the Color Scale Control dialog box and edit settings as follows
• In the Labels page, set font size to 20.
• In the Layout page, uncheck Reverse Order check box, and set Color Bar Thickness to 100.
• In the Title page, enter (\+(o)F) in the Title, which is supposed to be displayed as (oF) as the unit for temperature. And set the Position to Bottom.
• In the Line and Ticks page, uncheck Show Line and Ticks on Right and Show Border check box. Then Click OK to save the setting and close the dialog.

Note: The text used for Title is (\+(o)F), which is supposed to be displayed as (oF) as the unit for temperature.
7. Add the graph title Temperature Contour Map, axis title Latitude to the graph. The graph should look like this:

### Plot Polar Contour from Matrix data

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

1. Open the Tutorial Data project and browse to folder Contour from Matrix in Project Explorer.
2. Activate MBook1. Select Plot > 2D: Polar: Polar Contour theta(X) r(Y) from the menu or click the Polar Contour theta(X) r(Y) button on the 3D And Contour Graphs toolbar.

3. Double click the axes to open the Axis dialog, we also can customize the Radial Axes for this polar graph.
• Click on the Radial Axes Configuration button on the right-top of this dialog to open the dialog. In the dialog, choose 0 under the Angles List drop-down list.

• Go to Show tab, and choose Radial - Inner Axis 1 in the left panel. From the Angle At drop-down list, select End Angle and set Flow Direction to Negative.

• Choose Angular - Outer in the left panel. On the Show tab, in the Axes Start at (deg.) box, enter -30. Click OK to save settings and close the dialog.

4. Double click on the graph to open Plot Details dialog. Go to Colormap / Contours tab, click on the Level header to open the Set Levels dialog. Set levels as in the following image and click OK:

Click on the Fill header to open the Fill dialog. Make sure colors as in the following image:

5. Select the Layer1 icon in the left panel of Plot Details and click on the Size/Speed tab. Set the Layer Area as the following image:

Click OK to save settings and close the dialog.
6. Double-click on the Color Scale object to open the Color Scale Control dialog.
• In the Levels page, check the Hide Head and Tail Levels check box.
• In the Layout page, uncheck Reverse Order and set Color Bar Thickness to 400.
• In the Title page, uncheck Show check box.
• In the Line and Ticks page, uncheck Show Line and Ticks on Right and Show Border. Click OK to save settings and close the dialog.

7. Click on the Color Scale object and use the anchor points to resize it from vertical direction. The resulting graph should look like this:
 Polar contour graphs from matrix data support filling color to contour lines or to the matrix grid. For more information, see these two topics: