*CreateCurve()

Includes a curve in a macro.

Syntax

*CreateCurve (TRUE|FALSE)

Application

HyperGraph

Inputs

TRUE
The curve is included in the macro
FALSE
The curve is not included in the macro.

Context

*BeginPlotMacros()

*DefinePlotMacro()

Example

*BeginPlotMacros()
   *DefinePlotMacro(macro_1)
      *Label("Macro 1")
      *CreateCurve(TRUE)
      *Set(X, "-10:10:.01")
      *Set(Y, "sin(x)")
      *Set(LABEL, "Curve 1")
   *EndDefine()
*EndPlotMacros()

Comments

*CreateCurve() is used to create a curve using a macro.

In the interface, a curve can be created using a macro by selecting Create Curve in the Plot Macros panel.

Macros can also be used to create notes using *CreateNote().