I attach a gnuplot script generated by octave. When I process the same file on two systems, a 32 and a 64 bit system, with the same version of gnuplot (4.6.4), I get two different outputs. I use the following command line
$ gnuplot --default-settings --persist < debug.gp
Basically I have a log plot, the differences are the presence/absence of minor ticks and the number of major ticks and their labels.
I'm using Linux under X11. The distribution is Gentoo so gnuplot is compiled from source.
Confirmed. Current cvs also produces different output on 32- and 64- bit builds.
On windows
CVS 32 bit : hangs (MinGW w64), works correct (MSVC)
CVS 64 bit : works correct (MinGW w64, MSVC)
5.0.4 32 bit : hangs (MinGW w64)
5.0.4 64 bit : works but no minor ticks (MinGW w64)
5.0.3 32 bit : works but no minor ticks (MinGW original site)
5.0.3 64 bit : works but no minor ticks (MinGW w64)
5.0.1 32 bit : hangs (MinGW w64)
5.0.1 64 bit : works but no minor ticks (MinGW w64)
5.0.1 32 bit : works but no minor ticks (MinGW original site)
5.0.1 64 bit : works but no minor ticks (MinGW w64)
4.6.7 32 bit : hangs (MinGW w64)
4.6.7 64 bit : works but no minor ticks (MinGW w64)
For gnuplot 5.0.3 on cygwin 32 and 64 bit , results are the same as those on original post.
For cvs version gnuplot hangs.
I made short script to narrow the issue
Behavior changes if mtics value chages e. g. set mxtics 9;
But behavior is buggy.
On cvs version, log scale mechanism is changed so that this issue disappeared.
The issue is limitied to on version 5.0 and earlier.
If logscale range is narrow like set xrange [1e+0:1e+3]
set mxtics 10;
works.
Last edit: Tatsuro MATSUOKA 2016-08-29
Sorry situation seems not to be simple.
Snapshot cvs version (32 and 64 bit ) on windows:tics interval is 10^2:
The behavior is the same on windows, wxt and qt terminals. (cvs_win.png)
On cygwin, behavior 32 and 64 bit are different.
(cvs_32_x11.png, cvs_64_x11.png)
(I executed also on wxt terminal. Resulits are the same as x11.)
Last edit: Tatsuro MATSUOKA 2016-08-29
All results show that gnuplot behavior is buggy on wide logscale range.
I have execute the test on lubutu 14.04 (32 bit) and lubuntu 16.04 (64 bit). Results are the same as those on the Cygwin.