9.3.7.21 The (Plot Details) Function TabPDDialogFunctionTab
The function plot Plot Details dialog includes a Function tab. This tab includes controls for customizing the formula, the range of independent variables, and the data point density. The Function tab differs slightly depending on the function type.


2D Function Plot

2D Parameter Function Plot



3D Function Plot


Range and related controls
Points
This text box is available when the Plot Details dialog is opened from a 2D function curve.
Type the number of data points to display in the function plot.
From and To
Specify the beginning and ending of the x range (2D function plot), or the parameter range (2D parameter function plot).
Mesh Grid
This group is available when the Plot Details dialog is opened from a 3D function plot.
When you plot a 3D function plot, Origin first creates a matrix and then creates the plot from this matrix. Specify the matrix dimensions in the Columns and Rows edit box. This will determine the density of the 3D surface grid.
Scale
This group is available when the Plot Details dialog is opened from a 3D function plot.
From and To
Specify the beginning and ending of the x and y ranges.
Auto
Select to allow Origin to automatically decide the x range (2D function plot) or x and y range (3D function plot).
When this box is cleared, you can specify the beginning and end of the X range in the From and To fields.
This check box is available when the Plot Details dialog is opened from a 2D or 3D function plot.
Function Definition
Define and modify the formula from which a function plot is created.
Common mathematical and statistical distribution functions are available by clicking the triangle button to the right of the text box. For detailed information about these functions, please read builtin LabTalk functions.
You can also type a function directly into the text box using any operators recognized by Origin. For multiplication, you must include the multiplication operator (*). You can also call any of Origin's builtin functions (even though they are not available from the triangle button flyout menu), or any functions that you have defined.
Before Formula Script
You can enter multiline LabTalk scripts in this edit box. The scripts will be executed before the expression in the formula edit box is executed. In addition to builtin functions and userdefined functions, you can use range variables, string variables, loop, LabTalk accessible XFunctions, and any LabTalk scripts.
Theme
You can save all settings specified on the Function tab in a theme and then apply the theme when you define another function.
To copy functionrelated settings from one plot to another:
 On the Function tab of the source plot, click the Copy button (only available when you create the function plot using the File: Function Plot menu).
 Select File: Function Plot: 2D Function Plot2D Parametric Function Plot3D Function Plot from menu.
 In the dialog that opens, click the triangle button to the right of the Theme. Select Paste from the context menu.
For details about using a theme in a function plot, please see here.
