6.12.16 Surface With Transparent Plane
This graph shows the topography of Lake Ontario. It is a combination of a 3D surface and a transparent plane.
Minimum Origin Version Required: 2015 SR0
What you will learn
This tutorial will show you how to:
- Plot a 3D color map surface graph
- Plot a transparent plane onto the existing 3D surface plot
- Set the lighting for a 3D surface plot
This tutorial is associated with the Tutorial Data project:<Origin EXE Folder>\Samples\Tutorial Data.opj.
- Open the Tutorial Data project and browse to folder Surface With Transparent Plane in Project Explorer.
- Activate MBook3L, and highlight all data. Select Plot:3D Surface:Colormap Surface from the main menu. A graph window will be generated as shown below:
- Right click on the layer icon 1 at the top right of the graph and select Layer Contents..., add MBook2 as a 3D surface into this layer by shifting it from the left panel to the right panel using the arrow button in the center of the dialog as shown below. Then click OK to close dialog.
- Double-click on the graph to open the Plot Details dialog. If the left panel is not expanded use the button. This dialog is where the 3D plot will be customized. Select Layer1 in the left panel, and in the Axis tab in the right panel apply the settings shown below:
- Select the first plot in the left panel under the Layer1 option and in the Colormap/Coutours tab, click on the Level... header to open the Set Levels dialog. In this dialog, apply the settings below:
- Use the OK button to close the Set Levels dialog. Click on the Fill... header to open the Fill dialog. In the Fill dialog, select Load Palette and click the Select Palette button to select the Watermelon palette. Click OK to close the Fill dialog.
- To remove contours, in the Colormap/Coutours tab deselect the Enable Contours check box as shown below:
- To remove the mesh, in the Mesh tab, deselect the Enable check box as shown below:
- In the Side Walls tab, check the Enable box and set the X and Y side walls as shown below:
- In the Numeric Formats tab, set Decimal Places to 0.
- Select the second plot in the left panel and in the Surface tab, set the Transparency as 48:
- Open the Fill tab of the Plot Details dialog, select Fill piece by piece and set the color as Blue. Click Apply to review changes.
- The next step is to set the lighting effect. Select Layer1 in the left panel and in the Lighting tab, apply the settings shown below:
- In the Planes tab, deselect the XY, YZ and ZX plane boxes. Click the OK button to close the Plot Details dialog.
- The next step is to add a title. Right-click on the blank area of the graph window and select Add/Modify Layer Title from the menu that appears, enter Lake Ontario as the layer title. Right-click on the title and select Properties... from the menu to open the Object Properties dialog. In the Texttab, set font size to 31, then go to Frame tab and set Frame to Shadow.
- To customize the color scale, double-click on the color scale to open the Color Scale Control dialog. Select Line and Ticks on the left panel, on the right panel, deselect Show Line and Ticks on the Right and Show Border to hide the line, ticks and border.
- Select Layout on the left panel, modify Color Bar Thickness as 150 to change the width of the color scale, set Label Offset from Bar Edge as 0 to move the label closer to the color scale.
- Select Title on the left panel, on the right select Show to display the title, and add (m) at the end of the Title text box to display the title as Elevation(m) for the color scale. Change Size under the Font branch as 18. Click OK to apply the settings and close the dialog.
- You can double click the color scale title to activate the in-place edit mode, place the cursor after %(?R,@LA) and press ENTER on the keyboard to start a new line for (m). The complete graph should appear as shown below: