Just one remark on this:
I had to replace:
<hansl>
S1 += "L1.$i "
</hansl>
by
<hansl>
S1 += "L1.$i,"
</hansl>
in case the list contains more than one variable.
Artur
<hansl>
function void indplot(list L1, list L2)
list lplot = L1|| L2
string S1
loop foreach i L1 -q
S1 += "L1.$i "
endloop
string S2
loop foreach i L2 -q
S2 += "L2.$i "
endloop
plot lplot
option with-lines=@S1
option with-impulses=@S2
option time-series
literal set key outside below
literal set linetype 2 lc rgb 'black' lw 2
literal set linetype 1 lc rgb 'blue'
literal set linetype 3 lc rgb 'red' lw 2
end plot --output=display
end function
</hansl>
Allin
_______________________________________________
Gretl-devel mailing list
Gretl-devel(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-devel