Am 11. September 2015 20:04:05 MESZ, schrieb Allin Cottrell <cottrell(a)wfu.edu>:
On Fri, 11 Sep 2015, Sven Schreiber wrote:
> Am 11.09.2015 um 19:43 schrieb Allin Cottrell:
>> On Fri, 11 Sep 2015, Sven Schreiber wrote:
>>
>>> the common problem (with known solution) is to tell gnuplot to use
only
>>> a single y-axis.
>>> But now (and amazingly for the first time in all those years,
>>> apparently) I have the opposite problem: I want to distribute the
>>> plotted lines to two separate y-axes, but gnuplot (or rather its
gretl
>>> interface) won't let me do it. What can I do?
>>
>> Gretl doesn't support this as an option to the "gnuplot" (or
"plot")
>> command, but it's easy enough in gnuplot. Example:
>
> I appreciate your help, but after the word "easy" there are >10 lines
of
> instructions ;-)
OK, but as you said, this is a low-frequency request. I suppose we
could have an option to force two y-axes (either ignored or
generating an error if only one series is given). This would be fine
for just two series plotted, but for more than two it's not obvious
how we would assign series to the respective y-axes. If anyone has
clever ideas I'm willing to listen!
In a function pckg. I simply provide an additional vector of binaries (0=left axis,
1=right axis). But if one wants to use the "plot"command one needs to specify
something in the "set linetype" option I guess...
Allin
_______________________________________________
Gretl-users mailing list
Gretl-users(a)lists.wfu.edu
http://lists.wfu.edu/mailman/listinfo/gretl-users