184.108.40.206.1 The (3D Parametric Function Plot) Function tab
A matrix of Z values is simultaneously generated when you create a 3D Parametric Function Plot.
When you plot a 3D function plot, Origin first creates a matrix from which to generate the plot. Specify the matrix dimensions in the Columns and Rows edit box. This will determine the density of the 3D surface grid.
Specify the parameter for the plot.
From and To
Specify the beginning and ending of the u and v ranges.
X(u,v), Y(u,v) and Z(u,v)
Enter the X, Y and Z parameter formula here.
Common mathematical and statistical distribution functions are available by clicking the triangle button to the right of the X(u,v), Y(u,v) and Z(u,v) text boxes. For detailed information about these functions, please read build-in LabTalk functions.
In addition, you can type a function directly in the text box using any operators recognized by Origin. For multiplication, you must include the multiplication operator (*). You can also call any of the Origin's, even those not available from the triangle button fly-out menu, or from any functions that you have defined. You can also use a named range in your expression.
If you click the Show-in-separate-window button under the triangle button, a dialog with a wider input box and a Preview panel will open. The preview panel shows a matrix calculated from the formula you defined. You can check the result and edit the formula in the input box if needed.
Define names and values of variables. These variables can be used in function definition. If a variable is not defined yet but is used in function body, it will be highlighted in red.
Show LabTalk Script
Select this check box to define variables using LabTalk scripts. If you have already defined some variables in the Definition table, select this check box to show the LabTalk script equivalents of these definitions.
In addition to built-in functions or user-defined functions, any LabTalk scripts are supported here. You can use range variables, string variables, loops, and LabTalk-accessible X-Functions. Scripts entered here will be run before the formula definition.
There is a quick way to load a conditional control or loop script when you are doing script in Before Formula Script box. Right click on Before Formula Script box to select Conditional/Loop at the bottom of the context menu, and then select a conditional structure or loop you desired in the flyout. The syntax will be added at cursor with simple comments.
Output Function plot
The drop-down option list on the bottom-left corner is used to specify how to output the function plot curve, Create New Graph, Add to Active Graph or Add to Active Graph and Rescale.
|Note: This checkbox is only available when a 3D Graph window is active. If the active window is not a 3D Graph window, it will create the 3D Function plot in a new graph window.
Since Origin 2022, you can click Add button to add a function plot into active graph window or a new graph window without closing the dialog. In this way, you can add multiple function plots into one graph window at one time.