Am 11.09.2015 um 20:04 schrieb Allin Cottrell:
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!
First, this isn't a feature request and you're right that for me
personally it hasn't been necessary so far. (OTOH Artur was motivated
enough to write a package.) I just wanted to ironize a little the
relative meaning of the term "easy".
The naive way how I stumbled across this was that I clicked "edit" and I
was used to find (under the "lines" tab of the dialog window) for each
line a drop-down field where I could choose left or right axis. Those
fields weren't there, because I presume they are only shown if gnuplot
somehow tells gretl it has created two axes.
Anyway, this issue along with a solution is now in the list archives,
and then there will be Artur's package. That's already a lot better than
the status quo ante.
cheers,
sven