On Thu, 24 Mar 2016, Sven Schreiber wrote:
Am 24.03.2016 um 16:03 schrieb Allin Cottrell:
> On Wed, 23 Mar 2016, Sven Schreiber wrote:
>>>
>>> With respect to time series, so let's start the "debatable"
part: It's
>>> not clear why the definition of the x-axis would determine what is done
>>> with the y-axis.
>>
>> Still think this sounds reasonable.
>
> I agree. I've now relaxed the criterion in the GUI plot editor. Provided
> the plot has at least two lines you will now get a y-axis chooser for
> each line (regardless of whether or not it's a time-series plot).
>
> Should there also be an option mechanism for specifying y-axis choices
> via script? Probably, but that will be more work.
Is it possible by adding literal gnuplot commands? If so, then I
think it's not necessary. I mean, otherwise we also would have to
talk about specification of ranges and so on.
I don't think it would work, to try to force axis changes via
gnuplot "literals".
A gretl-generated gnuplot file starts with a bunch of "set" commands
that influence title, legend placement, axis labels, line colors and
so on, and then has a "plot" section which specifies what data are
to be plotted and how.
We stick user-supplied literals (if any) in the middle, so they can
supplement or override the initial "set" commands, but they're not
going to modify the actual "plot" directive. In some cases you might
get lucky by inserting a "plot" line of your own, but the effect is
in general unpredictable and is in no way guaranteed.
Allin