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.

3D Scatter with Droplines 01.png

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.

Steps

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

  1. Open Tutorial Data.opj and browse to the 3D Scatter with Droplines folder in Project Explorer (PE).
  2. Activate MBook1B, select Plot:3D Surface:Colormap Surface from the main menu. A graph window will be generated.
    3D Scatter with Droplines 02.PNG
  3. Double-click on the plot to open the Plot Details dialog. In the Surface tab, check the Flat check box.
    3D Scatter with Droplines 03.PNG
  4. 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.
    3D Scatter with Droplines 05.PNG
  5. Click the OK button to close the Fill dialog.
  6. Click the Level... header to bring up the Set Levels dialog. Set the levels as given below.
    3D Scatter with Droplines 04.PNG
  7. Click the OK button to close the Set Levels dialog.
  8. Go to the Mesh tab, uncheck the Enable check box.
    3D Scatter with Droplines 06.PNG
  9. 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.
    3D Scatter with Droplines 07-v.PNG
    3D Scatter with Droplines 08-v.PNG
  10. Click OK button to close the Layer Contents dialog. The population data will be added to the graph as shown below.
    3D Scatter with Droplines 09.PNG
  11. 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).
    3D Scatter with Droplines 10.PNG
  12. Go to the Colormap tab, click on the Level... header to open the Level dialog. Set the level as given below.
    3D Scatter with Droplines 11.PNG
  13. 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.
    3D Scatter with Droplines 12.PNG
  14. Go to the Label tab, apply settings given below.
    3D Scatter with Droplines 13.PNG
  15. 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.
    3D Scatter with Droplines 14.PNG
  16. Select Graph level in the left panel and then go to the Display tab, set the Color as LT Gray.
    3D Scatter with Droplines 15.PNG
  17. Click OK to close the Plot Details dialog. Finally, you will get the graph given below.
    3D Scatter with Droplines 01.png