I would not use set style fill solid border -1
(or better, noborder
), but rather set a specific line type that can be used to configure boxes
, for example.
bw=0.1 n=500 bin(x,width) = width*floor(x/width) + bw/2.0 set boxwidth bw set style line 2 lc rgb 'gray30' lt 1 lw 2 set style fill pattern 5 plot 'rnd.dat' using (bin($1,bw)):(1./(bw*n)) smooth frequency with boxes ls 2
Here, the squares are drawn using dark gray and line width 2.

source share