Is this a bug in Gnuplot or gdlib?
m sutton <[email protected]>
| Newsgroups | gmane.comp.graphics.gnuplot.devel |
|---|---|
| Message-ID | <[email protected]> |
I was checking out v5.4.1 on centos 7.2 with gdlib 2.3.0. I simplified the problem down to this script. unset grid set nokey set clip two set title "GD Line Bug" set size 1,1 set term png small truecolor butt size 500,400 unset border unset tics set output 'mike.png' set xr [0:6]; set yr [0:2] plot '-' u 1:2 notitle w l lt 1 lw 9 2.0 1.0 5.0 1.0 e I get a small, but noticeable dash at the beginning of the plotted line. The larger the linewidth the more noticeable it becomes. I inserted a print statement in the PNG_vector function in gd.trm. What I see are two calls to PNG_vector. The first call tries to plot a line of zero length. The second call plots the correct line. So why is the zero length line plotted? MikeS _______________________________________________ gnuplot-beta mailing list [email protected] Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-beta