188.8.131.52.1 The (2D Parametric Function Plot) Function Tab
To create data for a 2D parametric function plot, double-click on the plot to open Plot Details then click the Workbook button at the bottom of the dialog box.
Specify the parameter.
Specify the number of data points to display in the function plot.
From and To
Specify the beginning and ending of the parameter range.
X(t) and Y(t)
Enter the X and Y parameter formula here.
Common mathematical and statistical distribution functions are available by clicking the triangle button to the right of the X(t) and Y(t) text boxes. For detailed information about these functions, please read built-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 built-in functions, 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 new Y(x)= dialog with a wider input box and a Preview panel will open. The preview panel shows a column 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 2D Graph window is active. If the active window is not a 2D Graph window, it will create the 2D 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.