6.12.15 3D Scatter with Droplines
This graph consists of a flat surface and an XYZ scatter with labels. The US Map is a matrix with 1's and 0's, displayed as a flat surface. The population data is an XYZ scatter plot with droplines.
Minimum Origin Version Required: Origin 9.0 SR0
What you will learn
This tutorial will show you how to:
- Plot a flat surface.
- Add a 3D scatter to the existing graph window.
- Turn on and customize the labels.
This tutorial is associated with <Origin EXE Folder>\Samples\Tutorial Data.opj.
- Open Tutorial Data.opj and browse to the 3D Scatter with Droplines folder in Project Explorer (PE).
- Activate MBook1B, select Plot:3D Surface:Colormap Surface from the main menu. A graph window will be generated.
- Double-click on the plot to open the Plot Details dialog. In the Surface tab, check the Flat check box.
- Go to the Colormap/Contours tab, click the Fill... header to open the Fill dialog. In this dialog, select Limited Mixing and set the From and To colors as shown below.
- Click the OK button to close the Fill dialog.
- Click the Level... header to bring up the Set Levels dialog. Set the levels as given below.
- Click the OK button to close the Set Levels dialog.
- Go to the Mesh tab, uncheck the Enable check box.
- Click the OK button to close the dialog. On the graph window, right-click on the layer icon to select Layer Contents... from the context menu to open the Layer Contents dialog. In this dialog, select Worksheet in Folder from the top-left drop-down list, select col(D) in the left panel and select 3D Scatter/Trajectory/Vector as plot type, check the Rescale on Apply check box, and then click the arrow to add col(D) to the right panel as a 3D scatter plot.
- Click OK button to close the Layer Contents dialog. The population data will be added to the graph as shown below.
- Double-click on the 3D scatter plot to open the Plot Details dialog. Go to the Symbol tab, set the Size as 18 and set the color as colormap defined by col(Population).
- Go to the Colormap tab, click on the Level... header to open the Level dialog. Set the level as given below.
- Click OK to close the Set Levels dialog. Click on the Fill... header to open the Fill dialog. In the Fill dialog, select Load Palette and then click the Select Palette button to select the Watermelon palette. Click OK to close the Fill dialog.
- Go to the Label tab, apply settings given below.
- Select Layer1 in the left panel and then go to the Size/Speed tab in the right panel. Uncheck the check boxes under Speed Mode, Skip Points if needed.
- Select Graph level in the left panel and then go to the Display tab, set the Color as LT Gray.
- Click OK to close the Plot Details dialog. Finally, you will get the graph given below.