
Click OK to convert the XYZ data into a matrix. Expand the Gridding Settings branch, select Random (Thin Plate Spline) from the Gridding Method and Parameters drop-down list, and set both the Columns and Rows to 30. Select Worksheet: Convert to Matrix: XYZ Gridding to open the dialog.Activate the workbook XYZ Random Gaussian again.And then, use the result Matrix data to create the 3D surface. If you want to create a 3D surface that is smoother than the surface plot above(created from XYZ data), you can firstly convert the XYZ data into a matrix using the XYZ Gridding tool. Drag with your mouse or use arrow keys to change lighting source direction. Press the "S" key while hovering on a 3D openGL graph.

In the Lighting tab, select Directional as Mode and do the settings under Light Color just as the image below showing. Select Layer1 from the left panel of the Plot Details dialog.In the Fill dialog, choose Load Palette, click on Select Palette, and select Rainbow from the list. In the Colormap tab, click on the column header Fill.In the Drop Lines tab, uncheck the Parallel to Z Axis checkbox.In the Symbol tab, set Shape to Ball, Size to 12 and Color to Map: Col(C)(expand Color Chooser to do settings in the By Points sub-tab as shown below). Double-click on the scatter plot of Graph1 to open the Plot Details dialog.Select column C from the left panel and click on the Add Plot button to add the 3D scatter plot to the graph.In this dialog, click on the button and select 3D Scatter/Trajectory/Vector from the fly-out menu. Right click the layer icon on the left-top of the graph to open the Layer Contents dialog.Select Plot > 3D : 3D ColorMap Surface to create a 3D Colormap Surface plot (Graph1 by default).Highlight column C and click Z button from the mini toolbar that appears.Select Data: Connect to File: Text/CSV to import the file \Samples\Matrix Conversion and Gridding\XYZ Random Gaussian.dat with default settings.Use the Plot Details dialog to customize a graph.Use the Layer Contents dialog to add/remove a data plot.

Minimum Origin Version Required: Origin 9.0 SR1 What you will learn

In Origin, Contour plots and 3D plots, such as Color Map Surface plots, can be created directly from XYZ data.īut, if you want to plot a smoother 3D surface, you are strongly advised to use one of Origin's built-in gridding routines to convert the XYZ data into a matrix. Speed Mode – How does it affect my graph and its exported image?.Convert Worksheet to Matrix to Plot 3D Surface.Adding, Grouping and Reordering Plots with Layer Contents.
