6.12.12 3D Bar on Flatten Surface


Video Image.png Video Text Image.png Website blog icon circle.png Blog Image 33x33px.png

This graph is a combination of a flattened 3D surface of US Map with state divisions and 3D bars representing the city populations, the bars locate the longitude and latitude of the cities.

3D Bar on Flatten Surface 01.png

Minimum Origin Version Required: Origin 9.0 SR0

What you will learn

This tutorial will show you how to:

  • Plot a flattened 3D surface.
  • Add a 3D bar graph to an existing 3D surface graph.

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 3D Bar on Flat Surface in Project Explorer.
  2. Activate MBook1E, select Plot> 3D : 3D Colormap Surface from the main menu. A graph window will be generated.
    3D Bar on Flatten Surface 02.png
  3. Double-click on the graph to open the Plot Details dialog. In the Surface tab, check Flat and Shift in Z, set the Z offset to 0 and the Transparency to 50.
    3D Bar on Flatten Surface 03.png
  4. Go to the Colormap/Contours tab, click on the Level... header to open the Set Levels dialog. In this dialog, set the Major Levels to 8, Minor Levels to 0.
    3D Bar on Flatten Surface 04.png
  5. Click the OK button to close this dialog. Click on the Fill... header to open the Fill dialog. In the Fill dialog, select Load Palette, click Select Palette button to select Thermometer palette and uncheck the Link to Palette check box.
    3D Bar on Flatten Surface 05.png
  6. Click OK button to close the Fill dialog. Click the fill cell of last level and set its color as White.
    3D Bar on Flatten Surface 06.png
  7. Uncheck the Enable Contours in the Colormap/Contours tab.
    3D Bar on Flatten Surface 07.png
  8. Go to Mesh tab, uncheck the Enable check box.
    3D Bar on Flatten Surface 08.png
  9. Select Layer1 in the left panel, go to the Planes tab in the right panel. Uncheck the XY, YZ, and ZX check boxes.
    3D Bar on Flatten Surface 09.png
  10. Click OK to close the Plot Details dialog. Right-click on the layer icon and choose Plot Setup from the menu. In the Plot Setup dialog, choose Worksheets in Folder for Available Data, 3D-Bars as Plot Type and USMetropolitan as the data source sheet. Set Longitude, Latitude, and Population as X, Y, Z respectively. Click Add to add the 3D bar graph to the current layer.
    3D Bar on Flatten Surface 10.png

    In order to show all three panels in Plot Setup dialog, please expand Plot Type panel by clicking Button Expand Preview Up.png and expand Available Data panel by clicking Button Expand Preview Up.png again.

    Please refer to Plotting using Plot Setup for more information.

  11. Click OK to close the Plot Setup dialog. Select Graph: Rescale to Show All to rescale the graph.
  12. Double-click on the 3D bar graph to open the Plot Details dialog. In the Pattern tab, set the color of Border and Fill as red, and set Gradient Fill as shown below.
    3D Bar on Flatten Surface 11.png
  13. Click OK to close the Plot Details dialog. On the graph window, right-click on the layer icon and select Layer Contents... from the context menu to open the Layer Content dialog. In this dialog, select Worksheets in Folder for the top-left drop-down list, add col(C) and Col(D) in Sheet Label as a 3D bar graph and a 3D scatter respectively to the current layer.
    3D Bar on Flatten Surface 12.png
  14. Click OK to close the Layer Content dialog. Double-click on the 3D bar graph to open the Plot Details dialog. Select the third plot in the left panel, and go to the Pattern tab, apply the settings given below.
    3D Bar on Flatten Surface 13.png
  15. Go to the Outline tab, set the Width(in%) to 15 as below.
    3D Bar on Flatten Surface 13 1.png
  16. Select the forth plot in the left panel, go to the Label tab and apply the settings below.
    3D Bar on Flatten Surface 14.png
  17. Finally, you will get the graph shown below.
    3D Bar on Flatten Surface 01.png