HyperGraph

Build Plots Panel - XY Plot

Build Plots Panel - XY Plot

Previous topic Next topic Expand/collapse all hidden text  

Build Plots Panel - XY Plot

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

The Build Plots panel constructs multiple curves and plots from a single data file.  Curves can be overlaid in a single window or each curve can be assigned to a new window.  Individual curves are edited using the Define Curves panel.

build_plots_panel

Build Plots panel

In addition to the standard set of import templates, an open interface for creating custom import filters is provided.  Using import language and external readers, you can write import templates for most any ASCII data file not directly supported in the program.

NoteSee Import Templates for more information on creating import templates.
hmtoggle_plus1greyOpening a Plot File

If you know the path and filename of the data file, you can type it directly into the Data file field and click Apply.  You can also click the file browser icon to locate and load a file.   Click the downward pointing arrow at the far right of the Data file field to see a list of the most recently loaded files.  The list contains all the files selected since the application was launched.

When creating a curve using the Build Plots panel, the curve name is defined by a Templex expression instead of a fixed string as in previous versions of HyperGraph 2D.  The Templex expression is visible in editable fields only.  In non-editable fields, the evaluated expression is displayed.  In most cases, the evaluated expression should match the text that was hard-coded in previous versions.  Please see Dynamic Curve Names for more important information on this topic.

hmtoggle_plus1greyAdvanced Options

The Advanced Options feature allows you to apply many options at once to the session during plotting.  Curves created in this manner are added to the session in a new layer.  Click Adv Options to display the dialog.

See the Advanced Options topic for more information.

Note:        The advanced options you choose take precedence over any Build Plots panel options you have selected.

hmtoggle_plus1greyBuilding Plots with Generica XY Data Files

XY data can be plotted using the Build Plots panel.  All plot data files except MADYMO are divided into Type, Request, and Component.

X Type

Select the data type for the X vectors.

Data files can consist of different types of data.  The available data types depend on the data file.  Use the combo_arrows buttons to scroll through the types of data in the open file or click on the down arrow to expand the list.

Or, click the X Type button to launch the X Type filter.  This filter contains the same selections as the drop-down menu, but allows you to search for a specific request by entering a string and pressing ENTER.  Only the types that match the string are displayed.  The search request feature is case sensitive.  To clear a filter, remove the text from the field and press ENTER.

xtype_filter

X Request

Once the data type has been selected, the data request set needs to be selected.  To do this, use the combo_arrows buttons to scroll through the requests or click the down arrow to expand the list.

Or, click the X Request button to launch the X Request filter.  This filter contains the same selections as the drop-down menu, but allows you to search for a specific request, enter a string and press ENTER.  Only the requests that match the string are displayed.  The search request feature is case sensitive.  To clear a filter, remove the text from the field and press ENTER.

xrequest_filter

X Component

To select the data component, use the combo_arrows buttons to scroll through the data components or click the down arrow to expand the list.

Or, click the X Component button to launch the X Component dialog.  This dialog contains the same selections as the drop-down menu.  If you have several options in the component list, this dialog makes it easiest to view and select an option.

xcomponent_dialog

Y Type

Select the data type for the Y vectors.

Y Type Filter

By default, all types are shown.  To search for a specific type, enter a string and press ENTER.  Only the types that match the string are displayed.  The search type feature is case sensitive.  To clear a filter, remove the text from the field and press ENTER.

Y Request

Multiple requests can be plotted in the same window, or plotted in individual windows.  The available choices are displayed in a list.  The list can be expanded by clicking the expansion button, exp-button.  Select the request(s).

Y Request Filter

By default, all requests are shown.  To search for a specific request, enter a string and press ENTER.  Only the requests that match the string are displayed.  The search request feature is case sensitive.  To clear a filter, remove the text from the field and press ENTER.

Y Component

Multiple components can be plotted in the same window, or plotted in individual windows.  For some data files, each request contains different components.  Only the components common to all selected requests are displayed in the Y Components list.  The list can be expanded by clicking the expand button, exp-button.  Select the data component(s).

Y Component Filter

By default, all components are shown.  To search for a specific component, enter a string and press ENTER.  Only the components that match the string are displayed.  The search component feature is case sensitive.  To clear a filter, remove the text from the field and press ENTER.

Sorting Type, Requests, and Components

order_ascending

Click to sort the data in ascending order.

order_descending

Click to sort the data in descending order.

order_original

Click to return the data list to its original order.

hmtoggle_plus1greyBuilding Plots with ADAMS Request Files

ADAMS request files and MADYMO plot files organize data elements in a similar manner, although they use different labels for each element.  The labels on the Build Plots panel change to reflect the type of data file loaded.  For ADAMS requests files, the data is divided into Type, Request, and Component.

Option

Description

X Type

A data file can consist of different types of data.  For example, an ADAMS file might contain time, displacements, velocities, accelerations, and forces.  The available data types depend on the data file.  Use the combo_arrows buttons to scroll through the types of data in the open file or click on the down arrow to expand the list.  Select the data type for the X vectors.  If time is chosen, the request and component are blank.

X Request

Once the data type has been selected, the data request set needs to be selected.  Use the combo_arrows buttons to scroll through the requests or click on the down arrow to expand the list.  Select a request.

X Component

ADAMS requests always contain eight components in the program:

X        RY

Y        RY

Z        RZ

Mag   Rmag

Use the combo_arrows buttons to scroll through the data components or click on the down arrow to expand the list.  Select the data component.

Y Type

Select the data type for the Y vectors.

Y Request

Multiple requests can be plotted in the same window, or plotted in individual windows.  The available choices are displayed in a list.  The list can be expanded by clicking the expand button, exp-button.  Select the request(s).

Y Request Filter

By default, all requests are shown.  To search for a specific request, enter a string and press enter.  The requests that match the string are displayed.  The search request feature is case sensitive.  To clear a filter, remove the text from the field and press enter.

Y Component

Multiple components can be plotted in the same window, or plotted in individual windows.  The available choices are displayed in a list.  The list can be expanded by clicking the expand button, exp-button.  Select the component(s).

Y Component Filter

By default, all components are shown.  To search for a specific component, enter a string and press enter.  Only the components that match the string are displayed.  The search component feature is case sensitive.  To clear a filter, remove the text from the field and press enter.

Note     If multiple requests and components are selected, all possible combinations are plotted.

hmtoggle_plus1greyBuilding Plots with MADYMO Time History Files

MADYMO plot files organize data elements in a similar manner, although they use different labels for each element.  The labels on the Build Plots panel change to reflect the type of data file loaded.  For MADYMO time history files, the data is divided into Type, Component, and Channel.

NoteBetter plotting performance can be obtained by translating time history files into a binary format using mpmadymo.

X Type

A data file can consist of different types of data.  The available data types depend on the data file.  Use the combo_arrows buttons to scroll through the types of data in the open file or click on the down arrow to expand the list.  Select the data type for the X vectors.  If time is chosen, the component and channel are blank.

X Component

Once the data type has been selected, the data component set needs to be selected.  Click the combo_arrows buttons to scroll through the components or click the down arrow to expand the list.  Select a component.

X Channel

MADYMO components typically contain multiple channels.  Click the combo_arrows buttons to scroll through the data channels or click the down arrow to expand the list.  Select the channel.

Y Type

Select the data type for the Y vectors.

Y Component

Multiple components can be plotted in the same window, or plotted in individual windows.  The available choices are displayed in a list.  The list can be expanded by clicking the expand button, exp-button.  Select the data components for the Y vectors from the list.  Enter a string in the text box to filter items in the list for faster selection.

Y Channel

MADYMO components typically contain multiple channels.  Click the combo_arrows buttons to scroll through the data channels or click the down arrow to expand the list.  Enter a string in the text box to filter items in the list for faster selection.  Select the Y channel(s).

hmtoggle_plus1greyLayout Options

The Build Plots panel can generate multiple curves at once.  The Layout option menu enables you to specify how the plotted data is arranged on the page:

Use Current Plot

Every curve is overlaid in the active window.

When one of the following options is selected, the page layout icon, pageLayoutSingle-24, becomes available.

One Plot Per Request

Each selected request is plotted in a new plot with the corresponding components overlaid.

For example, if two Y requests and four Y components are selected, two plots are created with four curves in each plot.        

One Plot Per Component

Each selected ADAMS component is plotted in a new plot with the corresponding requests overlaid.

For example, if two Y requests and four Y components are selected, four plots are created with two curves in each plot.

One Plot Per Component (MADYMO only)

Each selected MADYMO component is plotted in a new plot with the corresponding channels overlaid.

For example, if two Y components and four Y channels are selected, two plots are created with four curves in each plot.

One Plot Per Channel (MADYMO only)

Each selected MADYMO channel is plotted in a new plot with the corresponding components overlaid.

For example, if two Y components and four Y channels are selected, four plots are created with two curves in each plot.

One Curve Per Plot

Each curve is plotted in a new plot.

For all plotting options, a new page is created.  The layout of the new page can be selected from the page layout button on the Build Plots panel.  When the plots are built, each window on the new page is filled. If more windows are required, another page of the same layout is created.

Apply

Click Apply to construct all the curves at once.

The program automatically generates axis labels, plot titles, and page names.  They can be edited using the Axes and Title panels and the Page List dialog.

Plots can contain up to six horizontal and six vertical axes.  All curves created using the Build Plots panel are automatically assigned to the primary horizontal and vertical axes.

Note   See Import Templates for more information on setting up headers and axis labels inside of import templates.

         See Define Curves and Axes for more information on adding axes and assigning vectors to axes.

 

How do I...

hmtoggle_plus1 Build plots from MADYMO data files:

1.Open a data file.
2.Select the data type for the X vectors.
3.Select the component for the X vectors.
4.Select the channel for the X vectors.
5.Select the data type for the Y vectors.
6.Select the component(s) for the Y vectors.
7.Select the channel(s) for the Y vectors.
8.Select a layout for the plots from the Layout option menu.
9.Select any one of the 16 page layout options.
10.Click Apply.

The plots are constructed and displayed in the specified layout on the page.  If more than one page is required, new pages are added to accommodate the new windows.

hmtoggle_plus1 Build plots from plot data files:

1.From the Define Curves panel, click the file browser button to open a data file.
2.Select the data type for the X vectors.
3.Select the request for the X vectors.
4.Select the component for the X vectors.
5.Select the data type for the Y vectors.
6.Select the request(s) for the Y vectors.
7.Select the component(s) for the Y vectors.
8.Select a layout for the plots from the Page Window Layout option menu.
9.Select any one of the 16 page layout options.
10.Click Apply.

The plots are constructed and displayed in the specified layout on the page.  If more than one page is required, new pages are added to accommodate the new windows.

hmtoggle_plus1 Expand Y data lists:

1.Click the expansion button, exp-button.

The data list is displayed.

2.Double-click an item to select it and close the list.

Or

Make a selection from the list.

3.Click OK.

hmtoggle_plus1 Select a contiguous range of Y data requests:

Select one of the following methods:

Select a request from the list while dragging the pointer to include requests above or below the selected request.
Hold down the SHIFT key and select another request from the list.

The range of requests between the first and second selections is highlighted.

hmtoggle_plus1 Select a contiguous range of Y data components:

Select one of the following methods:

Select a component from the list while dragging the pointer to include components above or below the selected component.
Hold down the SHIFT key and select another component from the list.

The range of components between the first and second selections is highlighted.

hmtoggle_plus1 Select a non-contiguous range of Y data components:

1.Hold down the CTRL key.
2.Select components in any order from the list.

The selected components are highlighted in the list.

hmtoggle_plus1 Select a non-contiguous range of Y data requests:

1.Hold down the CTRL key.
2.Select requests in any order from the list.

The selected requests are highlighted in the list.

hmtoggle_plus1 Select Y data components:

Select one of the following methods:

Click on a single component.
Click All to select every component in the list.
Click None to deselect every component in the list.
Click Flip to exchange the currently selected components for the unselected components in the list.

Or

1.Click the expansion button, exp-button.

The data list is displayed.

2.Double-click an item to select it and close the list.

Or

1.Make a selection from the list.
2.Click OK.

hmtoggle_plus1 Select Y data requests:

Select one of the following methods:

Click on a single request.
Click All to select every request in the list.
Click None to deselect every request in the list.
Click Flip to exchange the currently selected requests for the unselected requests in the list.

Or

1.Click the expansion button, exp-button.

The data list is displayed.

2.Double-click an item to select it and close the list.

Or

1.Make a selection from the list.
2.Click OK.

See Also:

Supported Files in HyperGraph 2D

Building plots with NASTRAN punch files

Dynamic Curve Names

Preview Curves

Multiple File Plotting

Advanced Options