Filter
Add a Filter () subnode to the following 1D, 2D, and 3D plots: arrow, contour, global, function (2D only) isosurface, histogram, line graph, line plot, particle trajectories (see Filter for Particle Trajectories), point graph, point trajectories (see Filter for Point Trajectories), ray and ray trajectories (see Filter for Ray and Ray Trajectories), slice, table graph (see Filter for Table Graph) volume, max/min, Nyquist, admittance graph, impedance graph, reflection graph, and through thickness plots. Filters make it possible to filter (limit) the plot using a logical expression that provides a criterion for which parts of the plot to include. In the Model Builder, add and define a plot group with one or more plot nodes. Right-click the plot node (for example, a 2D Surface) and select Filter.
Element Selection
Under Element Selection, enter a Logical expression for inclusion. Enter any logical expression using predefined variables and unit syntax if desired. For example, x>2[cm] filters the plot to only include the part of the geometry where x > 2 cm. In 1D, the filter is applied to the points on the curves plotted using the plot node to which you add a Filter subnode. The filter is applied in the same way to all expressions that are plotted. Click the Replace Expression () or Insert Expression () button to select predefined expressions for the logical expression.
In 2D and 3D, and if the plot uses a Solution or Mesh dataset, you can also select the Element nodes to fulfill expression: All, At least one, At least one but not all, or Smooth (the default):
Using the default setting, Smooth, edges of the filter domain become smooth instead of consisting of entire elements. For this setting, select the Use derivatives check box to use cubic (Hermite) interpolation in the smooth plot filter. Using derivatives can improve the plot if the expression that is plotted is not approximated well over each element by a linear function.
Select All to include all elements for which all element nodes (that is, the entire element) fulfill the criterion in the logical expression.
Select At least one to include all elements for which at least one element node fulfills the criterion in the logical expression (that is, elements that fully or partially fulfill the expression).
Select At least one but not all to include all elements for which at least one of the element nodes, but not all of them, fulfill the criterion in the logical expression. The last option is useful for making a filter that shows the plot for a zone around a boundary where the logical expression becomes true.
For the Filter nodes under the Point Graph, Global, Histogram, Nyquist, Admittance Graph, Impedance Graph, Reflection Graph, and Point nodes, this section is called Point Selection because the filtering is done for points rather than elements.
Line Segment Selection
This section is only available when a Filter subnode is used under a 1D Global, Point Graph, or Line Graph node.
You can filter the displayed line segments to make them monotonic in some direction using the following check boxes, which are all selected by default:
Increasing x, which you can clear to filter out line segments with increasing x coordinate values.
Decreasing x, which you can clear to filter out line segments with decreasing x coordinate values.
Increasing y, which you can clear to filter out line segments with increasing y coordinate values.
Decreasing y, which you can clear to filter out line segments with decreasing y coordinate values.