This example shows how to graph an island as a 3D surface plot, and to use special contour line to indicate a particular elevation.
Download this OPJ file (2309_GeoSurface_NoAxis.zip, 437KB) to learn how to make this graph.
Create a 3D surface plot from matrix
With this data matrix as the active window, you can choose Plot: 3D Surface: Color Map Surface to plot a 3D surface and here is what you will see:
As you can see in the above image, speed mode will be on for this data by default. To increase the redraw speed of your graph layer, let’s keep the speed mode be on when you customize the graph with the below steps.
Let’s now customize this graph, by double-clicking to open the Plot Details dialog.
- Select the data plot in the left panel and go to the Colormap/Contours tab. In this tab, click the Level… header to open the Set Levels dialog, and apply the settings below:
Click the Fill… header to open the Fill dialog. In the Fill dialog, select Introducing Other Colors in Mixing radio button and set the From and To color as Blue and Red.
- Go to the Mesh tab and deselect the Enable box to disable the mesh line.
- Go to the Axis tab, and set the axis lengths as below:
You may change the angle of rotation interactively by dragging the mouse, as shown in this video:
Add lighting effect on the graph
You can turn on lighting effect on your surface plot by clicking the yellow light bulb button on the Styles toolbar.
- With the 3D graph active, click the button shown below.
- Click on the circular control and move it around to change the direction of the light source, and you can see the surface changes accordingly, as shown in this video:
3. You can make further changes in the Properties tab as shown below:
Alternatively, you may also turn on lighting from the Plot Details dialog in the Layer level.
- Double-click on the graph to open the Plot Details dialog. Select Layer1 in the left panel and go to the Lighting tab.
- Check the Directional in the Mode radio box and change the settings of lights.
Customize a specified contour line
Next we will make a particular contour level to stand out by making it look different from other levels:
- Open the Plot Details dialog. Select the plot in the left panel and go to Colormap/Contours tab.
- Click the contour line at the level of 80 to open the Line dialog and customize settings based on actual demand.
Hide all three axis planes and three axes
To show the island, we don’t really need the axes, so we should turn them all off:
- Open the Plot Details dialog. Select Layer1 in the left panel and go to the Planes tab, then uncheck the XY, YZ and ZX check box.
- Go to Display tab and uncheck the X Axes, Y Axes and Z Axes check box under the Show Elements group.
Turn off speed mode
After customization, if you are satisfied with the graph, you can turn off speed mode using the Speed Mode button indicated in the aubergine circle in the image below :
Alternatively, you can also turn off the Speed Mode in the Plot Details dialog.
After this, you will get the final graph as shown at the beginning of the blog.
Thanks a lot.