HyperGraph

HyperGraph 2D Context Sensitive Menus

HyperGraph 2D Context Sensitive Menus

Previous topic Next topic Expand/collapse all hidden text  

HyperGraph 2D Context Sensitive Menus

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

Clicking the right-mouse button in a plot window, browser, or on a curve displays a variety of options.  The context menu options are dependent on the current selection.  For example, the Plot Window context menu items are dependent upon the plot type currently selected (XY, Bar Chart, Complex, or Polar Plot).  If you currently have the bar chart type selected, xy plot type context sensitive menu options will not appear when you right-click in the Plot Window.

Context sensitive menus include:

hmtoggle_plus1greyPlot Window Context Sensitive Menu

Option

Description

HG Apply Style

Displays the Style Sheets dialog.  From this dialog, you can select and apply attributes of the current plot to either every plot on every page or to every plot on the current page.  This option is also accessible from the Tools menu.

New

When you select New from the context sensitive menu, a secondary menu is displayed that contains the following options:

Plots from File - Create multiple curves and plots from a data file.  Provides a file selection dialog, then loads the file in the Build Plots panel.

Math Curve - Creates a new math curve in the Define Curves panel.

File Curve - Displays a file selection dialog, then creates a curve associated with the file in the Define Curves panel.

Note - Adds a new note to the plot and opens the Notes panel.

Datum Line - Horizontal - Adds a horizontal datum line and displays the Datum Lines panel.

Datum Line - Vertical - Adds a horizontal datum line and displays the Datum Lines panel.

Y Axis - Adds a new Y axis and displays the Axes panel.  This is only available for XY plots and bar charts.

X Axis - Adds a new X axis and displays the Axes panel.  This is only available for XY plots.

Switch to Real/Imaginary and Switch to Phase/Magnitude- If the plot type is set to Complex Plot, this option allows you to toggle between the real/imaginary and phase/magnitude axes.

Swap Complex Axes Position - If the plot type is set to Complex Plot, this option allows you to switch the position of the complex axes from top to bottom.

Custom Rendering

If XY Plot is selected, select Gauge from the Custom Rendering menu to display your plot as a gauge plot type.  If Bar Chart is selected,  select Pie Chart.

Select None to turn off custom rendering.

hmtoggle_plus1greyCurve Context Sensitive Menu

Option

Description

View Dependencies

Right-click on a curve and select View Dependencies to display the View Dependencies dialog.  This dialog allows you to review the source for the x and y vectors of the current curve, as well as the source for any other vector involved in their definition.  You can modify the base file used for the curve, as well as the Type, Request, or Component.

Highlight Source Entity in Model

If a HyperView window is open and on the same page as the HyperGraph 2D window, and you select Highlight Source Entity in Model from the context sensitive curve menu, the node or element is selected on the HyperView animation file.

highlight_source_entity_menu

The following sub-menu options are available:

Highlight on: Displays the label in HyperView for the corresponding entity in HyperGraph.

Highlight off: Turns off the display of all highlighted entity labels in HyperView.

Isolate: Turns off everything in HyperView and displays only the selected entity in HyperGraph.

Show: Adds to display in HyperView for the corresponding entity in HyperGraph.

Hide: Hides the source entity.

Supported files for Dyna in both ASCII and binary format output include the following:

Matsum
Nodout
Deforc
Elout
Rbdout
Sbtout
Swforc

The context sensitive menu is displayed for any curve that is in HyperGraph.  However, the menu options for this feature only work for the above file types.  For the unsupported files, the following message is displayed. 

 

highlight_source_entity_error

Enable/Change Curve Unit

Displays the Enable/Change Curve Unit dialog, which allows you to select a new unit type for the x and y vectors.

Properties

Displays a micro dialog for the curve properties, which allows you to change the line style, size, and color, as well as edit the data symbol type and increment.

Filter, Math, and Injury

If the Vehicle Safety Tools preference files is loaded, or a curve contains vehicle safety information, the Filter, Math, and Injury menu items are displayed.

hmtoggle_plus1greyAxis Menu

Option

Description

New Axis

Right-click on any plot axis and select New Axis from the mouse menu.  A new axis is added to the plot and the Axes panel is displayed.

Properties

Displays a micro dialog for the axis properties, which allows you to change the axis color, label, label and tic font, and set the fixed range.

Convert Units

Besides the viewing controls, you can also access the Convert Units option from the plot mouse menu.  Right-click on any plot axis to display the menu option.  When you select Convert Units, the Convert Axis Units dialog is displayed.  You can use this dialog to convert the current axis unit of measure to another unit of measure.  The application automatically selects the current axis unit of measure on the Convert Axis Units dialog.  From one of the drop-down menus, select the new axis unit of measure to which you want to convert the current axis unit of measure.  If the application cannot detect the current axis unit of measure, it automatically defaults to Time.

hmtoggle_plus1greyContext Menus

You can customize the plot context sensitive menu by adding context menu items.  These menu items act as a shortcut to options that are also accessible from the menu bar.  The menu items are also linked to a particular Tcl/Tk script.  See *ContextMenuItem() for more information.

hmtoggle_plus1greyAdditional View Controls

Additional viewing controls can be assigned to the left-mouse button in HyperGraph 2D.  The view control assigned to the left mouse button is selected from a pop-up menu that is activated by right-clicking.  Any one of the view controls can be assigned to the left mouse button.  The default setting is Circle Zoom.  Right-click in HyperGraph 2D to activate the pop-up menu.

Option

Description

Circle Zoom

Magnifies a selected section of your plot and is the default setting for MB2.

Pick Center

Repositions the plot in relation to the center of the window.  When Pick Center is assigned to MB2, a small white square appears in the center of the window.

Translate

Repositions a plot by dragging the mouse.

How do I...

hmtoggle_plus1 Assign a viewing control to MB2:

1.Move the pointer into the active window.
2.Click MB3 or right-click if you are using a two-button mouse.
3.Select the control to be assigned to MB2 or the left-mouse button.

When MB2 is clicked or dragged in the active window, it performs the function assigned to it.

hmtoggle_plus1 Magnify part of a plot:

1.Using CTRL+MB2, drag the cursor around a portion of the plot to be magnified.
2.Release the mouse button to scale the selected area to fill the window.

The plot can be scaled to fit the window again by clicking CTRL + MB2 in HyperGraph 2D.

If using a two-button mouse:

1.Using the left mouse button, drag the cursor around a portion of the plot to be magnified.
2.Release the mouse button to scale the selected area to fill the window.

The plot can be scaled to fit the window again by clicking the left mouse button in HyperGraph 2D.

hmtoggle_plus1 Translate a plot:

1.Position the pointer inside the window.
2.Press MB2 and drag the mouse.

The plot moves across the window in increments equal to the current tic spacing.

If using a two-button mouse:

1.Position the pointer inside the window.
2.Press the left mouse button and drag the mouse.

The plot moves across the window in increments equal to the current tic spacing.

hmtoggle_plus1 Reposition a plot:

Click MB2 anywhere in the active window.

The selected point is now displayed in the center of the window.

If using a two-button mouse:

Click the left mouse button anywhere in the active window.

The selected point is now displayed in the center of the window.

hmtoggle_plus1 Modify a curve from the View Dependencies dialog:

1.From HyperGraph 2D, right-click on a curve.

The HyperGraph 2D mouse menu is displayed.

2.From the HyperGraph 2D mouse menu, select View Dependencies.

The View Dependencies dialog is displayed.

The curves that you selected and all the curves that define it are listed in the left panel of the dialog.

The right panel of the dialog contains source information about each curve.

3.From the left panel, select the curve you want to modify.
4.From the right panel, select the modifications that you want to make to the curve.
5.Click Apply.

The selected curve is modified.

NoteIf a curve name listed in the left panel is too long, select Line wrap to wrap the name of the curve so that it fits in the panel.