OriginLab Corporation - Data Analysis and Graphing Software - 2D graphs, 3D graphs, Contour Plots, Statistical Charts, Data Exploration, Statistics, Curve Fitting, Signal Processing, and Peak Analysis                     
 
Skip Navigation Links
All BooksExpand All Books
Origin HelpExpand Origin Help
GraphingExpand Graphing
Basic GraphingExpand Basic Graphing
Plotting Mathematical FunctionsExpand Plotting Mathematical Functions
2D Parametric Function PlotExpand 2D Parametric Function Plot

8.3.4.2.1 The (2D Parametric Function Plot) Function Tab

2d parametric function plot function tab.png


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.


Parameter

Parameter

Specify the parameter.

Points

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 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 built-in functions, even though they are not available from the triangle button fly-out menu, or from any functions that you have defined.

If you click the Show-in-separate-window button Show in Separate Window Button.png 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.

Definition

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.
 

© OriginLab Corporation. All rights reserved.