Begins a plot macro definition block.
*DefinePlotMacro()Begins a plot macro definition block. |
|||||
*DefinePlotMacro()Begins a plot macro definition block. |
Syntax |
*DefinePlotMacro(macro_name, [arg_1, arg_2, ..., arg_n]) |
|
Arguments |
Name |
Description |
macro_name |
The name of the plot macro. |
|
arg_1, ... |
User-defined optional arguments. |
|
Example |
*BeginPlotMacros() *DefinePlotMacro(macro_batch, curve, low, high, times ) *Label( "batch general") *Parameter(curve, "Curve (time = sec)", CURVE) *Parameter(low, "Low cutoff", SCALAR) *Parameter(high, "High cutoff", SCALAR) *Parameter(times, "Time conv.", SCALAR, 1.0) *Set(X, "curve.x") *Set(Y, "batch(times*curve.x,curve.y,low,high)") *Set(LABEL, curve.label + "_" + low + "_" + high) *EndDefine() *EndPlotMacros() |
|
Application |
HyperGraph. |
|
Context |
||
Comments |
Every *DefinePlotMacros() statement requires a closing *EndDefine() statement. *Parameter() can also be used in a *DefineReport() block. *Label() performs the same function as *ReportLabel() in a *DefineReport() block. |
|
See also |
|
|