On Wed, 23 Mar 2016, Sven Schreiber wrote:
Hi,
I was looking for something else in old messages, but came across this
dangling thread...
Am 01.02.2016 um 08:55 schrieb Sven Schreiber:
> Am 01.02.2016 um 01:20 schrieb Allin Cottrell:
>> No, I'm not seeing them. The criterion for showing these things hasn't
>> changed lately. It's debatable, no doubt, but here it is:
>>
>> Either (a) the plot is a regular time-series plot, or (b) it contains at
>> least one "line" that is already attached to a secondary y-axis. (See
>> the function show_axis_chooser() in gui2/gpt_dialog.c.)
>>
>
> Ah ok. Then the question would be how to activate the secondary y-axis
> when the plot is created, so something like the inverse of
> "--single-yaxis". Right now it seems the user is at the mercy of gretl
> that decides when the second axis would be good.
>
> 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.
Allin