the code below creates the error message
Data based arrows are not permitted in panel workfiles T in "DO_ GRD.ADDTEXT(T) "GROUP "+"D"".
It seems that it is not possible to add text to charts looping over the cross sections in a panel?
Code: Select all
wfcreate a 2000 2015 5
series x=nrnd+10*crossid
alpha csect=@chr(64+crossid)
for %c D A C
smpl @all if csect=%c
freeze(mode=overwrite, gr{%c}) x.line
gr{%c}.addtext(t) "Group "+%c
next
The corresponding error message
Data based arrows are not permitted in panel workfiles L in "DO_ GRD.ADDTEXT(L) "GROUP "+"D"".
pops up when replacing the 2nd but last code line by
Code: Select all
gr{%c}.addtext(l) "Group "+%c
Best,
mamo