Am 06.06.2018 um 14:18 schrieb Stefano:
Thanks Sven, nice function! This said, little problem: after any
"edit"
operation (e.g. changing font) only the first subplot survives, the
second one just disappears.
Yeah, something like this was expected, because it's of course pretty
"hackish". If you want to do GUI-based editing of the plot, the
recommendation would be to start off in the GUI (menu View / Multiple
plots / Time series).
Passing font options to my function as with the standard gnuplot command
in gretl should also be possible, with one caveat: Since something like
--font="serif,12" contains already double quotes, escaping them is
needed to put them into the argument string.
Example (actually tested):
string opt = sprintf("--font=\"serif,10\" --time-series")
multiGplot(defarray("LRM", "LRY --with-lines"), opt,
deflist(dataset))
cheers,
sven