OriginLab Corporation - Data Analysis and Graphing Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis                           
 

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.
Surface With Transparent Plane 01.png

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

Steps

This tutorial is associated with the Tutorial Data project:<Origin EXE Folder>\Samples\Tutorial Data.opj.

  1. Open the Tutorial Data project and browse to folder Surface With Transparent Plane in Project Explorer.
  2. 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:
    Surface With Transparent Plane 02.png
  3. 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.
    Surface With Transparent Plane 03.png
  4. Double-click on the graph to open the Plot Details dialog. If the left panel is not expanded use the Plot Details Expansion.png 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:
    Surface With Transparent Plane 04.png
  5. 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:
    Surface With Transparent Plane 04 1.png
  6. 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.
    Surface With Transparent Plane 05.png
  7. To remove contours, in the Colormap/Coutours tab deselect the Enable Contours check box as shown below:
    Surface With Transparent Plane 06.png
  8. To remove the mesh, in the Mesh tab, deselect the Enable check box as shown below:
    Surface With Transparent Plane 07.png
  9. In the Side Walls tab, check the Enable box and set the X and Y side walls as shown below:
    Surface With Transparent Plane 08.png
  10. In the Numeric Formats tab, set Decimal Places to 0.
  11. Select the second plot in the left panel and in the Surface tab, set the Transparency as 48:
    Surface With Transparent Plane 09.png
  12. 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.
    Surface With Transparent Plane 10.png
  13. 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:
    Surface With Transparent Plane 11.png
  14. In the Planes tab, deselect the XY, YZ and ZX plane boxes. Click the OK button to close the Plot Details dialog.
    Surface With Transparent Plane 12.png
  15. 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.
    Surface With Transparent Plane 13 1.png
  16. 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.
    Surface With Transparent Plane 14.png
  17. 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.
    Surface With Transparent Plane 16.png
  18. 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.
    Surface With Transparent Plane 15.png
  19. 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:
    Surface With Transparent Plane 01.png
 

© OriginLab Corporation. All rights reserved.