Red Hat Bugzilla – Bug 43620
bad sizes in multiplot
Last modified: 2014-03-16 22:21:04 EDT
Description of Problem:
Elements which should be of the same size are not and dependency
on a size parameter is not even linear.
The bug affects gnuplot-3.7.1, and also a test version 3.8.0 from
www.gnuplot.org, hence distributions at least from 6.2 are affected.
A version 3.7 of gnuplot (hard to find nowadays) does not seem to have
Steps to Reproduce:
Run the following bash script:
for n in $(seq 30 39) ; do
sed "s/XX/$n/" bug.in > bug.gp
on an attached file bug.in. Look at produced Postscript files with gv
and note how squares on the left and on the right are changing sizes
on different pictures.
Created attachment 20372 [details]
template of gnuplot source to demo sizing bug
The original "victim" hit by this bug got today a patch from one of Gnuplot
developers Hans-Bernhard Broeker (email@example.com). It turns
out that rounding is incorrect when calculating positions. The original
patch is against current CVS tree. Attached is one redone for 2.7.1 sources
(different line offsets). Recompiling 2.7.1 rpms with this patch makes
at least the test case to behave. :-)
Created attachment 20512 [details]
A patch for a bug described in this report
Fixed in 3.7.1-16, thanks!