6.12.2 3D Vector

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


Origin can plot 3D Vectors from two different data structures: XYZ XYZ and XYZ dXdYdZ.

XYZ dXdYdZ defines the tail and head data for the vector, while XYZ dXdYdZ provides the vector's tail data and the distance between tail and head projections on X, Y, and Z axes.

What you will learn

  • Create a 3D Vector from XYZ dXdYdZ worksheet data.
  • Customize the 3D Vector


This tutorial is associated with <Origin EXE Folder>\Samples\Tutorial Data.opj.
Also, you can refer to this graph in Learning Center. (Select Help: Learning Center menu or press F11 key , and then open Graph Sample: 3D Symbol Bar and Wall)

  1. Open Tutorial Data.opj and browse to the 3D Vector folder in Project Explorer (PE).
  2. Select workbook Book2. Click in the upper left corner of the worksheet to select all data.
  3. On the main menu, select Plot > 3D : 3D Vector XYZ dXdYdZ. This will create a 3D Vector graph with our built-in template.
    3D Vector 01.PNG
  4. Double-click on the vector plot to open the Plot Details dialog box. Ensure that the Original vector plot has been selected in the left panel of the dialog box. Select the 3D Vector tab.
    • In the 3D Vector tab of Plot Details dialog box, set the parameters as shown in the following graph. Click the Color button and select Dark Green from the menu.
    3D Vector 02.PNG
    Click OK to apply these settings and close the dialog box.
  5. Go to Lighting tab in Format: Layer dialog, Set the lighting attribute follows graph below:
    3D Vector 04-1.PNG
  6. Rotate the graph to a proper perspective. The final graph should look something like this:
    3D Vector 05.PNG