Create and edit XY plots
In this task you will create and edit XY plots.
In this task, you will learn how to:
- Create an XY plot.
- Add a curve to the plot.
- Create a plot path representation of a result.
- Investigate the pressure through the mold.
If you have the model from the previous task open, skip the next three steps.
Click
(Start & Learn tab > Launch panel > Open Project).
Open the Postprocessing project you created in the first task of this tutorial.
Double-click cpu_base in the Project View pane to open the study.
Right-click New Triangles in the Layers panel and select Hide All Other Layers.
Enter the values -175 -25 -20 in the
Rotation Angle text box (View tab > Viewpoint panel > Rotation Angle), and press Enter to rotate the model.
Click
(Results tab > Plots panel > New Plot), and select
Plots from the drop-down menu.
The Create New Plot dialog, which provides a list of results available in this study, appears.
Scroll down the Available results and select Pressure .
Select XY Plot in the Plot type area, and click OK.
A set of axes are displayed with the model displayed in outline. The cursor has changed to cross-hairs, with XY in the corner. At this stage, there are no pressure plots displayed in the graph. We need to select the points where the pressure is of interest.
Click the cursor on the points illustrated below.
The pressure data for each selected node is automatically displayed on the XY plot in the form of a curve.
Click
( Results tab > Properties panel > Plot Properties).
Notice in the Curves area that all of the curves you added to the plot are listed, and are identified by their node number.
Click the XY Plot Properties (2) tab and in the X Range area, select Manual.
Set the minimum value to 0 and the maximum value to 30.
Click Manual in the Y Range area, and set the minimum to 0 and the maximum to 20.
In the Plot title box, change the title to CPU Base - Pressure:XY Plot.
Click OK.
Study the XY plot that you have just updated.
Click
(Results tab > Properties panel > Plot Properties). Select the XY Plot Properties (2) tab, and select the Auto option in both the X and Y range box.
Select the Mesh Display tab and change the Surface display to Transparent with an Opacity of 0.5.
Click OK to view the results.
Select
(Results tab > Examine panel > Examine).
Click a plot point to determine the values represented.
These results can also be saved as a text file that lists, for each node selected, the time/pressure values that are graphed.
Select
(Results tab > Export and Publish panel > XY Plot).
The Publish dialog appears. You can select the location to save the text file. For this example, select Desktop from the Save in drop-down list.
Enter XY plot data in the File name box, and click Save.
Navigate to where you saved the file. Open the file, and study the contents.
You can also view the pressure through the mold at individual times. Click
(Results tab > Plots panel > New Plot) and select Pressure from the Available results list.
Select Path plot from the Plot type box and select OK.
Choose the same points as previously selected.
The points on the graph represent the pressure at the nodes along the pathway at the specified time.
From the Animation panel (Results tab > Animation panel), click
Play.
The pressure through the mold is animated. An individual result can be viewed by clicking the
Step Backward and
Step Forward icons.