HyperGraph

Plot Macros Panel - Complex Plot

Plot Macros Panel - Complex Plot

Previous topic Next topic No expanding text in this topic  

Plot Macros Panel - Complex Plot

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

The Plot Macros panel, plotsMacro-24, allows you to create macros that produce curves and notes for plots.  A plot macro can include either a curve or note, or both a note and a curve.plot_macros_panel_xyplot

Plot Macros panel in the Complex Plot module

Plot macros can be used to capture and replay frequently used curve operations such as adding two curves together, filtering curves, or filtering and then curve fitting data.  They can also be used for frequently used plot notes.  Plot macros can be created and edited in the program or loaded automatically by registering them in a preference file.

All plot macros in the current session are listed in the Macro list.  Macros can be cut, copied, and pasted using the macro list.  The parameters associated with the selected macro are displayed in the Parameters list.  Parameters can be either curve or scalar.  Curve parameters are displayed as collectors.  Click on a collector to graphically select a curve from a plot.  Double-click on a collector to display the Select Curve dialog.  Scalar parameters are displayed as text boxes.  Parameters are usually used to collect curves from within the session to use in mathematical expressions.  The result calculation can utilize any math functions, including Templex functions and external functions.

The Edit Plot Macro tabs allow you to add new plot macros to a session, and edit the curves and notes for existing plot macros.   The following tabs are displayed when you select Add or Edit from the Plot Macros panel:

Option

Description

Parameter

Add parameters for plots and notes.

Curve

Add or edit a plot macro curve.

Note

Add or edit a plot macro note.

Notes can be attached to windows, views, existing curves, coordinates, and curves created by the macro.

When you execute a plot macro by clicking Apply, the plot macro uses the parameters to create curves and notes within the session. Undo reverses the execution of the plot macro.  You can control the placement of the resulting curves with the following options:

Option

Description

Place new curves in original plots

Inserts the resultant curve(s) in original plots.

Hide input curves

Original curve(s) are hidden but not deleted.

From the Edit Plot Macro dialog, select the option Hide input curves by default to set the default state of the Hide input curves check box when you select a macro from the Macro list.

Create new pages

Places resultant curve(s) on a new page.

Use current plot

Places all resultant curve(s) in current plot.

When plot macros are added using the Plot Macros panel, they are saved in the session file.  When plot macros are added in the preference file, they cannot be edited in the Plot Macros panel and are not saved to the session file.

How do I...

Create a new macro.

Add a curve to a plot macro

Add a note to a plot macro

Add a parameter to the Parameters list

Edit an existing macro.

Apply an existing macro.

Load Vehicle Safety Tools

See Also:

Referencing Curves