1D, 2D, and 3D Cross-Section Point Plots
Creating a 1D Cross-Section Plot Using a Cut Point dataset
A 1D cross-section point plot visualizes a quantity in one or several points in time, along a parameter range, or for several different eigenvalues.
1
Create a Cut Point 1D dataset.
Under Point Data, enter the x-coordinates for the plot. Enter one or several space-separated values or a vector of coordinates, for example, range(0,10,100).
2
Add a 1D Plot Group (). In the Settings window, select Cut Point 1D as the Dataset. If required, right-click and Rename the plot group, for example, Cross-Section-1D Point.
3
Add a Point Graph to this 1D plot group and select Cut Point 1D as the Dataset or From parent (the default) to use the same dataset as the plot group to which it belongs.
4
Continue to define the Point Graph as needed.
5
Click the Plot button (), right-click the node, and select Plot, or press F8.
Creating a 2D Cross-Section Plot Using a Cut Point dataset
The 2D point cross-section plot visualizes a quantity in one or several points in time, along a parameter range, or for several eigenvalues. This example uses the Stresses in a Pulley model from the COMSOL Multiphysics Application Library.
1
Create a Cut Point 2D dataset. Under Point Data, enter the x- and y-coordinate values for the plot. Enter the same number of space-separated values in the x and y fields. Alternatively, enter a vector of coordinates; for example, range(0,10,100).
2
Add a 1D Plot Group (). In the Settings window, select Cut Point 2D as the Dataset.
3
Add a Point Graph and select Cut Point 2D as the Dataset or From parent to use the same dataset as the plot group to which it belongs.
-
The x-axis corresponds to time, parameter values, or the eigenvalue number.
-
The settings in the y-axis data area determine the quantity on the y-axis. Select from predefined quantities or enter an expression that contains variables.
4
Continue to define the Point Graph as needed.
5
Click the Plot button (), right-click the node, and select Plot, or press F8.
Creating a 3D Cross-Section Plot Using a Cut Point dataset
A 3D point cross-section plot visualizes a quantity in one or several points in time, along a parameter range, or for several eigenvalues. This example uses the Star-Shaped Microchannel Chip model from the Microfluidics Module Application Library.
1
Create a Cut Point 3D dataset. Under Point Data, enter the x-, y-, and z-coordinate values for the plot. Enter the same number of space-separated values in the x, y, and z fields. Alternatively, enter a vector of coordinates; for example, range(0,10,100).
2
Add a 1D Plot Group (). In the Settings window, select Cut Point 3D as the Dataset. Click the Go to Source button () to move to the node to which the selection in the list next to the button refers.
3
Add a Point Graph and select Cut Point 3D as the Dataset or From parent to use the same dataset as the plot group to which it belongs. Click the Go to Source button () to move to the node to which the selection in the list next to the button refers.
-
The x-axis corresponds to time, parameter values, or the eigenvalue number.
-
The settings in the y-axis data area determine the quantity on the y-axis. Select from predefined quantities or enter an expression that contains variables.
4
Continue to define the Point Graph as needed.
5
Click the Plot button (), right-click the node, and select Plot, or press F8.
See Table 21-11 for links to all the plots.