Hello,
I want to make a bar chart and specify the color with which each bar is
filled. Here's a simplified version of what I have:
--------------------------------
set terminal png size 200,200
set style data boxes
set style fill solid 1 border -1
plot '-' using 1:2 lt rgb "blue"
1 0
2 4
3 30
e
--------------------------------
That works ok for me, except that I end up with a 1-pixel wide "shadow"
of blue pixels along the top and right edges of each bar, outside the
black outline. See the attached chart.png or 2x.png (size doubled with
imagemagick). Note also the thin blue line at X=1, where the Y value is 0.
I experimented a bit and determined that not all terminal types behave
this way. For example:
has a shadow: png, gif, jpeg
without shadow: wxt, svg
So, am I specifying the color correctly? I can't find any other way to
do it.
I'm using Debian's gnuplot package, version 4.2.5-1; I also built 4.2.5
and CVS from source, and they both behave the same way.
Thanks,
Corey
|