文档详情

origin 3D作图方法.docx

发布:2017-12-16约2.1千字共7页下载文档
文本预览下载声明
Basic 3D PlottingSummaryIn Origin, most 3D plots -- including 3D surface, wire frame/wire surface, 3D bar plot and 2D contour -- are created from an Origin matrix. In most cases, the raw data is XYZ data and you should convert it to a matrix first, using one of Origins built-in gridding routines. Minimum Origin Version Required: Origin 8.0 SR6What you will learnThis tutorial will show you how to: Create a 3D graph in Origin Convert Worksheet data to a Matrix Use the layer contents dialog to add/remove dataset Use the Plot Details dialog to modify graph StepsImport the file \Samples\Matrix Conversion and Gridding\XYZ Random Gaussian.dat.Highlight the 3rd column, right-click, and select Set As: Z from the context fly-out menu.To convert the worksheet XYZ data into a matrix, select Worksheet: Convert to Matrix: XYZ Gridding to bring up the XYZ Gridding dialog. Select Mean from the drop-down list of the Replace Duplicates with item as below: After that, you can see the right preview panel as below.As you can see, the XY data are randomly distributed, so a random gridding method should be used.Use the following settings and click OK to convert the XYZ columns of data into a matrix of data. The TPS gridding method will generate a smooth surface.Set the new generated matrix as the active window and select Plot: 3D Wires and Bars: Wire Frame from the menu to plot a 3D mesh:In order to plot the original data points on the graph, you can use the Layer Contents. Right-click on the layer icon and select Layer Contents.In the Layer Contents dialog, select the worksheet Z column (In this example, xyzrandomgaus_c) and add it into the Layer Contents list.After you click OK, the source data points will be added to the layer.You can now use the Plot Details dialog to modify the appearance. Double-click on the graph to bring up the Plot Details dialog. On the left panel, select the 3D scatter data:And then go to the Symbol tab on the right panel, adjust the symbol type, size and color
显示全部
相似文档