#1030 plot generated with really thick lines if using truecolor

closed-works-for-me
nobody
None
5
2011-12-01
2011-08-09
Anonymous
No

Using gnuplot 4.4 patchlevel 0 on fedora 14 x86_64

The following data and script generate a graph with a particular section that has a really thick line.

data used
17:05:00 3851
17:10:00 3885
17:15:00 4172
17:20:00 10896
17:25:00 10914
17:30:00 11735
17:35:00 10404
17:40:00 10482
17:45:00 9514

script used
set style data linespoints
set xdata time
set timefmt "%H:%M:%S"
set terminal png truecolor size 800,600
set xrange ["12:00:00":"20:00:00"]
set output 'gnuplot.png'
plot 'gnuplot.dat' using 1:2 title "s"

Ended up with an image like that attached.
Removing the truecolor option generated the graph without the thick line

Discussion


  • Anonymous
    2011-08-09

     
    Attachments
  • Péter Juhász
    Péter Juhász
    2011-08-09

    I can't reproduce the bug with any current gnuplot version. (4.4.3 and 4.5)

    However, it is possible that the bug is in the GD library (which works under the hood of the png terminal), not in gnuplot.

    On my system, libgd's version number is 2.0.36. Perhaps Fedora 14 uses an older version of the library.

     
  • Ethan Merritt
    Ethan Merritt
    2011-08-09

    I can't reproduce this even using an old copy of 4.4.0, although note that the copy of 4.4.0 that I have around to test is 32-bit, not 64-bit. The truecolor/notruecolor difference makes no sense from gnuplot's point of view. It affects only the color assignment, not the line width. So I have no other ideas to suggest.

     
  • Ethan Merritt
    Ethan Merritt
    2011-12-01

    • status: open --> closed-works-for-me