Macro Language: Miscellaneous Commands
colormode <mode>
With this command you can define if colors will be defined as RGB or HSB (0=RGB, 1=HSB).
clr
Clears the console output.
setvar <var> <expr><var>=<expr>
Defines a variable.
setstring <var> <value>$<var>=<expr>
Defines a string variable.
eval <name> <expr>
Evaluates the expression and defines the result as string variable.
format <name> <format> <expr> ... <expr>
Returns a string created with the given format string. The format can be defined in the usual
printf notation.
hideapp
Hide Plot. Useful for command line started macros.
quitapp
Quit Plot. Useful for command line started macros.
repadd <font> <font size> [c] [c] [c] <text>
Add a text to the report panel. Dependent on the colormode the three values are RGB or HSB values from 0.0 to 1.0. The colormode can be set with the command
colormode (0=RGB, 1=HSB).
qrepadd <text>
Add a text to the report panel. This command uses the default color and the default font.
reppaste <modul>
Paste module to the report panel. Possible modules are:
name, date, figure, buffer, fit and spline.
repclear
Clear the report panel content.
repprint
Print the report panel content.
perlimport <filename> [name]
This executes a Perl imprt filter for the given file. Look in the perl import section for detailed informations.
If no
name is given the inline perl block will be used. This is a block in your macro starting with a line containing PERL and ending with a line containing PERL.
perlfilter <BUFFER> [name]
This executes a Perl filter for the given buffers. Look in the perl filter section for detailed informations.
If no
name is given the inline perl block will be used. This is a block in your macro starting with a line containing PERL and ending with a line containing PERL.
warn <BOOL>
Enable or disable warnings during macroexecution