On Tue, 17 Aug 2021, Riccardo (Jack) Lucchetti wrote:
On Tue, 17 Aug 2021, Allin Cottrell wrote:
> On Tue, 17 Aug 2021, Riccardo (Jack) Lucchetti wrote:
>
>> I realised that one of the new features was not documented in the xml
>> file, so I added a paragraph. If someone could take a look to what's in
>> git, that'd be great.
>
> That looks right to me. But is it verified that it's what gretl actually
> does?
I hadn't, but I have now:
<hansl>
function void do_plots(list X, bool slowly[0])
tmp = ""
setting = ""
outfile --buffer=tmp
set plot_collection
end outfile
sscanf(tmp, "plot_collection: code, currently %s", setting)
loop foreach i X
string title = sprintf("$i - %s", setting)
if slowly
sleep(2)
title = title ~ " (slowly)"
endif
plot X.$i
options time-series with-lines
printf "set title '%s'\n", title
end plot --output=display
endloop
if slowly
sleep(2)
endif
end function
open AWM18
list X = YER .. GCR
set plot_collection off
do_plots(X)
set plot_collection on
do_plots(X)
set plot_collection auto
do_plots(X, 1)
do_plots(X)
</hansl>
OK, great.
The snapshots are now up to date with git.
Allin