A Function (
) plot is created under a
1D Plot Group or
2D Plot Group node when you click
Create Plot (
) in a function node, depending on if the function depends on 1 or 2 variables. For 2D Function plots, add
Height Expression,
Filter, and
Transparency (if a
Height Expression node is used) subnodes if desired. Right-click a
1D Plot Group or
2D Plot Group to add this plot type.
Select the Plot on secondary y-axis check box to plot the
y-axis data on the secondary
y-axis to the right of the plot instead of the primary
y-axis to the left of the plot.
Enter the expression to plot in the Expression field. For a
Function plot created from a function definition node, the expression is already present, such as
an1(x) for an analytic function with the function name
an1. Click the
Replace Expression (
) button or the
Add Expression (
) button to replace or add to the expression using some predefined expression. Also add a
Unit and
Description if desired.
Enter the expression for the x-axis in the
Expression field. For a
Function plot created from a function definition node, the expression is already present, such as
x for an analytic function with the argument
x. Click the
Replace Expression (
) button or the
Add Expression (
) button to replace or add to the expression using some predefined expression. Also add a
Unit and
Description if desired. Enter values in the
Lower bound and
Upper bound fields to define the range of the argument for the function.
If you have selected Amplitude or
Frequency spectrum, you can select the
In dB check box to present the values in dB. From the
dB type list, choose
10log (the default) or
20log. The display in dB requires a reference value. From the dB reference list, choose
Maximum (the default) to use the maximum value as the reference, or choose
Manual to enter a suitable reference value in the
Reference value field.
If you have selected Real part,
Imaginary part,
Amplitude or
Phase, the following additional settings are available: To specify this value manually, select the
Number of uniform samples check box and enter a value in the associated field. If desired, select the
Inverse transform check box to use an inverse DFT. Select the
Mask DC check box to set the DC value (zero frequency component) to zero (not available if
Inverse transform is selected). The
Ignore last sample check box is selected by default to not include the last sample in the transform (not available if
Inverse transform is selected). The
Shift zero frequency and
Scale with sampling period check boxes are selected by default. Clear one or more of these check boxes if you want to exclude those steps.
If you have selected Line or
Line and Points, also select an extrapolation of the function from the
Extrapolation list:
Select the Show legends check box to display the plotted expression to the right of the plot.
When Automatic is selected from the
Legends list (the default), select or clear the
Description,
Expression, and
Unit check boxes under
Include to control what to include in the automatic legends (by default, it includes the description only). You can also add a prefix or a suffix to the automatic legend text in the
Prefix and
Suffix fields. If
Manual is selected from the
Legends list, enter your own legend text into the table.
This section contains the same settings as those for a Surface plot, except that the
Wireframe setting is not available.