Macro Reference

Range Commands

range <AXIS> <min> <max>
rescale

BUFFER Commands

datasplit
hide <BUFFER>
show <BUFFER>
delete <BUFFER>
duplicate <BUFFER>
setcomment <BUFFER> <text>
setcomment <BUFFER> <format> <expr> ...
addcomment <BUFFER> <text>
addcomment <BUFFER> <format> <expr> ...
belongx <BUFFER> <axis>
belongy <BUFFER> <axis>
addvalue <BUFFER> <x value> <y value> [x error] [y error]
setxvalue <BUFFER> <index> <value>
setyvalue <BUFFER> <index> <value>
rmvalue <BUFFER> <index>
moveup <BUFFER>
movedown <BUFFER>
movetop <BUFFER>
movebottom <BUFFER>
ordertop <BUFFER>
orderbottom <BUFFER>

Controll Commands

if <expr> <operator> <expr>
else
endif
loop <RANGE>
bufferloop <BUFFER>
dataloop <buffer> [step]
strloop <str 1> <str 2> ... [str n]
endloop

Calculation Commands

calc <target> <expr> <BUFFER>
swapxy <BUFFER>
sortx <BUFFER>
sorty <BUFFER>
normx <ref1> <ref2> <new1> <new2> <BUFFER>
normy <ref1> <ref2> <new1> <new2> <BUFFER>
movex <from> <to> <BUFFER>
movey <from> <to> <BUFFER>
cutoutsidex <min> <max> <BUFFER>
cutinsidex <min> <max> <BUFFER>
cutoutsidey <min> <max> <BUFFER>
cutinsidey <min> <max> <BUFFER>
smooth <factor> <BUFFER>
fftsmooth <factor> <BUFFER>
datareduction <n> <BUFFER>
spline <points> <strength> <BUFFER>
setxval <BUFFER> <index> <value>
setyval <BUFFER> <index> <value>

Style Commands

margins <left> <right> <bottom> <top>
marginleft <value>
marginright <value>
margintop <value>
marginbottom <value>
bgcolor <c> <c> <c> [a]
bgcolor <COLOR>
framecolor <c> <c> <c> [a]
framecolor <COLOR>
framewidth <width>

Data Style Commands

bstyleclear <BUFFER>
bstylelines <BOOL> <BUFFER>
bstylesymbols <BOOL> <BUFFER>
bstylefill <BOOL> <BUFFER>
bstyleybars <BOOL> <BUFFER>
bstylexbars <BOOL> <BUFFER>
bcolor <c> <c> <c> <BUFFER> [a]
bcolor <COLOR> <BUFFER>
bcolors <COLOR> [COLOR] ...
bfillcolor <c> <c> <c> <BUFFER> [a]
bfillcolor <COLOR> <BUFFER>
blinewidth <linewidth> <BUFFER>
blinepattern <pattern> <BUFFER>
bpatternwidth <patternwidth> <BUFFER>
bsymbol <symbol> <BUFFER>
bsymbolsize <symbolsize> <BUFFER>
blegend <BOOL> <BUFFER>
bfreex <BOOL> <BUFFER>
bfreey <BOOL> <BUFFER>
bfreexrange <min> <max> <BUFFER>
bfreeyrange <min> <max> <BUFFER>

Axis Style Commands

axis <axis> <margin> [axis] [margin] [axis] [margin] [axis] [margin] setaxis <x axis 1> <y axis 1> <x axis 2> <y axis 2>
ascalstart <AXIS> <start>
ascalend <AXIS> <end>
atickdist <AXIS> <dist>
aminsteps <AXIS> <steps>
atimeformat <AXIS> <format>
atrigger <AXIS> <trigger>
aexpoffset <AXIS> <offset>
adecplaces <AXIS> <n>
adecplacesauto <AXIS> <BOOL>
acuttrailingzeros <AXIS> <BOOL>
aformat <AXIS> <AXISFORMAT>
asetsmalllogzero <AXIS> <BOOL>
atext <AXIS> <text>
anumoffset <AXIS> <offset>
anumalign <AXIS> <ALIGN>
anumangle <AXIS> <angle>
atextoffset <AXIS> <offset>
asetnum <AXIS> <BOOL>
asettext <AXIS> <BOOL>
acolor <AXIS> <BOOL>
acolor <AXIS> <c> <c> <c> [a]
asetzeroline <AXIS> <BOOL>
azerolinecolor <AXIS> <c> <c> <c> [a]
azerolinecolor <AXIS> <COLOR>
aticklength <AXIS> <length>
aminticklength <AXIS> <length>
asetticks <AXIS> <BOOL>
asetminticks <AXIS> <BOOL>
asetticksbothsides <AXIS> <BOOL>
asetminticksbothsides <AXIS> <BOOL>
atickstyle <AXIS> <style>
asetgrid <AXIS> <BOOL>
agridwidth <AXIS> <width>
gridcolor <AXIS> <BOOL>
gridcolor <AXIS> <c> <c> <c> [a]
amingridwidth <AXIS> <width>
alabel <AXIS> <number> <replacement>
aclearlabels <AXIS>

Legend Commands

setlegend <BOOL>
legendpos <x> <y>
setlegendbg <BOOL>
setlegendhorizontal <BOOL>
legendlength <length>
legendspace <space>
legendcolor <c> <c> <c> [a]
legendcolor <COLOR>
legendbgcolor <c> <c> <c> [a]
legendbgcolor <COLOR>
legendfontsize <size>
setautolegendpos <BOOL>
autolegendalign <ALIGN>
autolegendoffset <x offset> <y offset>

Text Commands

text <x> <y> <text>
btext <x> <y> <text>
textsize <size>
textalign <ALIGN>
textcolor <c> <c> <c> [a]
textcolor <COLOR>

Miscellaneous Commands

customvalue <1/2/3/4> <name> <min> <max> <initial>
switch <1/2/3/4> <name>
selector <1/2> <n1> <v1> <n2> <v2> ... [n8] [v8]
selectorinit <1/2> <n>
selectortitle <1/2> <title>
selectorsizedynamic <1/2> <bool>
colormode <mode>
format <name> <format> <expr> ... <expr>
setvar <var> <expr>
<var>=<expr>
setstring <var> <value>
$<var>=<expr>
print <argument> ...
list