|
From: Thomas S. <t.s...@fz...> - 2009-06-11 11:16:02
|
it's an error in 'graphics.c' you can see the difference when plotting without color specification: plot '-' using 1:2 there everthing is ok. i'll upload a patch on sorceforge. Corey Hickey wrote: > > 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 > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Gnuplot-info mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > > -- View this message in context: http://www.nabble.com/problem-specifying-fill-color-for-boxes-tp23975642p23979365.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |