On 27.02.2015 22:33, Allin Cottrell wrote:
On Fri, 27 Feb 2015, Artur T. wrote:
> I've got another question regarding gnuplot. At the moment gretl
> automatically draws a 2nd yaxis (if it is not suppressed by the
> "--single-yaxis" option) if a certain criteria is fulfilled. However,
> is there a way to specify manually a separate variable (or a list of
> vars) to a 2nd yaxis?
Not within gretl's "gnuplot" command; you'd have to take charge of
that yourself.
I am just writing the function for this but I've got a problem with the
quotation marks.
This:
printf "set timefmt \"%Y%m\" \n"
results in
<output>
*** error in function plot_ts_y2axis, line 42
printf "set timefmt \"%Y%m\" \n"
</output>
I couldn't find a solution to this, unfortunately. Could anybody give me
a hint, please?
OK, just a few minutes later I found the solution to this:
printf "set timefmt \"%%Y%%m\" \n"
Best,
Artur