XY Plotting
Study relationships between data vectors in results files.
Information about xy plots is stored in plot collectors, which are referred to as plots. Plots maintain a list of pointers to curves that are to be displayed on the plot. The plot may contain any number of curves. There is no limit to the number of plot collectors that an HM database may contain.
Information about curves is stored in curve collectors, which are referred to as curves. To display a curve, you must assign the curve collector to a plot. A curve may appear on more than one plot at a time and there is no limit to the number of curves that an HM database may contain.
You can create standard plots or dual plots that show real/imaginary or phase/magnitude data.
XY Plots Module
The XY Plots module is a group of panels that perform operations on plots and the curves displayed on those plots.
- Axis Labels Panel
- Modify the x and y axes titles and labels. You can also change the color and font size used to display these entities.
- Axis Scaling Panel
- Modify the starting and ending values of the plot axes. You can set the values explicitly or implicitly by using the panel functions such as find curves, circle zoom, and zoom out.
- Border Panel
- Change the thickness and color of the border around the plot. You may also specify whether the border is displayed and the size of the margin between the border and the plot.
- Curve Attribs Panel
- Change the color, marker style (used to indicate the point location), thickness, and the line style (solid, dashed, and so on). You can apply a scaling factor to the original data points. You can also change the curve title that appears in the legend.
- Edit Curves Panel
- Creates and modifies the curves in the database. This panel allows you to read data vectors from files as well as perform advanced mathematical operations on curves.
- Grid Attribs Panel
- Change the color, line style, thickness of the grid lines, and the margin displayed around the grid lines.
- Grid Labels Panel
- Change the color, font, and number of significant places in the labels. Grid labels appear along the x and y axes in the plot (tick marks).
- Integrate Panel
- Calculates and displays the integral of a curve.
- Legend Panel
- Change the location and the font used to display the legend.
- Plot Titles Panel
- Change the plot title, subtitle, and label. In addition, you can change the color and font size used to display these entities.
- Plots Panel
- Create an xy plot and assign curves to the xy plot.
- Query Curves Panel
- Determine the coordinate values of points in a curve.
- Read Curves Panel
- Reads curves from an ASCII file.
- Rename Panel
- Eename curves.
- Results Curves Panel
- Generates a curve from the currently-selected results file.
- Simple Math Panel
- Perform simple mathematical calculations on a curve.
In addition, you can use the Curve Editor to view and modify curves already defined in your HyperMesh model.
Create XY Plots
Create an entirely new plot or a new plot based on default values from an existing plot.
If you have complex data, you can create dual plots to display real/imaginary or phase/magnitude curve data. You can also select the curves that are to be displayed on the plot.
Plot attributes include the title, subtitle, and labels, and also the margin and border around the xy plot. These attributes can be adjusted before or after you add curves to the plot.
Manage XY Plot Windows
Every xy plot is placed within a window to help you to control multiple plots by resizing and moving plots around the screen.
- Press W to open the Window panel.
- Modify XY plot windows.
Create Curves on XY Plots
Create Curves Manually
Create and define new curves.
Read Curves from ASCII Files
Create curves by reading in an xy data set from an ASCII file.
- From the Post page, click XY Plots.
- Click read curves.
- Click plot= and select the plot on which to display the new curve.
- Double-click file and select the file that contains the xy data.
- Click input.
Create Analysis Based Curves
Create analysis-based curves by extracting data from an HyperMesh binary results file.
When you create an analysis curve, you select entities of interest in your model, and then select a data type for the x axis data points and a data type for the y axis data points. After this information has been supplied, the required data is read from the results file and generates the appropriate curve.
This function is useful after running a model because it allows you to display the data in a two-dimensional format as an xy plot. Once the curve is created, you can integrate the curve and inspect points.
Create Curves using Simple Math Operators
Create curves using simple math operators.
You can combine two curves, transform a curve, or export the curve. For every operation, you can specify that the x or y values of the curve remain fixed.
You can also apply external filters to curves. Examples of external filters are in the filters subdirectory that is provided when this option is selected. Essentially, filters exchange data with HyperMesh, using the standard HyperMesh curve data file format.
Create Curves from Files or Math Expressions
Create new curves using either a data vector in a data file or a math expression.
For example, the data source for the x vector could be a file, and the data source for the y vector could be a math expression.
The x and y fields displays the data sources for the x and y vectors once they are selected.
Use the modify subpanel to edit an existing curve.
- c1.x
- Reference the x vector of curve 1.
- c1.y
- Reference the y vector of curve 1.
If you try to reference a curve that has not been created with this panel, you will receive the message, "This curve has no defined source. Convert to math curve?" Respond by clicking Yes or No. If the selected curve has too many points, it cannot be converted.