9.3.7.24 The (Plot Details) Function Tab

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.

The function tab 2d.png
The function tab 2d parameter.png
2D Function Plot
2D Parameter Function Plot
The function tab 3d.png
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 built-in 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 built-in functions (even though they are not available from the triangle button fly-out menu), or any functions that you have defined.

Before Formula Script

You can enter multi-line LabTalk scripts in this edit box. The scripts will be executed before the expression in the formula edit box is executed. In addition to built-in functions and user-defined functions, you can use range variables, string variables, loop, LabTalk accessible X-Functions, 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 function-related settings from one plot to another:

  1. 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).
  2. Select File: Function Plot: 2D Function Plot|2D Parametric Function Plot|3D Function Plot from menu.
  3. 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.