|
From: <tim...@lp...> - 2007-12-08 13:18:09
|
Petr Mikulik a écrit : > It seems that WXT is incorrectly setting the linewidth 0 to be really a zero > thickness, instead of the smallest linewidth achievable (as all other > terminals are doing). > > Compare: > > plot sin(x) w l lw 0, cos(x) w l lw 1 > set term wxt; replot > set term png size 900,700; set out 'a.png'; replot > set term post color; set out 'a.ps'; replot > set term fig color; set out 'a.fig'; replot > > --- > PM > Hi Petr, I don't know what's the proper answer to this, but from "help linestyle" I can read: "The line width and point size are multipliers for the default width and size" And the smallest achievable linewidth for cairo-based terminals is definetely zero. It is a consequence of antialiasing. For example, try: plot x-2 lw 3 lt 1, x-1 lw 2 lt 1, x lw 1 lt 1, x+1 lw .8 lt 1, x+2 lw .5 lt 1, x+3 lw .3 lt 1, x+4 lw .1 lt 1, x+5 lw .03 lt 1 You will probably see that even at lw 0.03 the line is visible and looks indeed very thin. Do you think we should decided of a lower bound on the linewidth for cairo-based terminals ? Best regards, Timothée |