On Thursday 30 September 2010, Tatsuro MATSUOKA wrote:
> Hello
>
> In checking all.dem using gnuplot.exe on windows gnuplot 4.5 (2010-09-30),
>
> ******************** file autoscale.dem ********************
>
> set yrange [*<-5:5<*]
> ^
> "autoscale.dem", line 23: ':' or keyword 'to' expected
>
> set yrange [*<-5:5<*]
> does not work only gnuplot.exe on windows.
>
> For gnuplot on the cygwin and djgpp, wgnuplot.exe, and wgnuplot_pipes.exe, 'set yrange [*<-5:5<*]'
> gives no error.
>
> This issue seem to be specific to gnuplot.exe on windows.
I can think of no explanation for that. It is mystifying.
So far as I know, the only difference in compiling gnuplot.exe and wgnuplot.exe
is the environmental variable WGP_CONSOLE. Is that correct?
But I do not see any code in either parse.c and axis.c that depends on WGP_CONSOLE.
Do any of these work?
set yrange [*<5 : 15<*]
set yrange [*<(-5) : 5<*]
N = -5; set yrange [*<N : 5<*]
> The auto scale like [*<-5:5<*] seem to be imported recently to the cvs release, so this issue perhaps
> is not relevant to the current official release ver. 4.4.2. Right?
That is correct. The new range syntax is only for 4.5.
> If it is better to register this issue to the bug tracker, I will do it.
If it continues to be a problem then please open a tracker item.
But first let's see if anyone else has an idea what might be happening.
Ethan
|