|
From: Lars H. <la...@ho...> - 2006-10-03 15:53:28
|
Hello world! On monday, October 2nd 2006 12:14, Uwe Schneider wrote: > I have gnuplot 4.1 windows (march 2006). 4.1 is the development version of gnuplot. AFAIK is the style 'histogram' a new feature, and I'm not sure wheter it works fine already. That's why I'd like to suggest the good old fashioned way of version 4.0 ;-) > How can I make black and white histograms? If you know the width of the histogram boxes, you can use the plot style 'with boxes' combined with 'using': plot 'datafile' using 1:2:3 with boxes Thereby you create a box of the height given in column 2 and the width given in column 3 at the points given in column 1. If your dataset does not provide information about the boxwidths, you may calculate them within the 'using'-part. See also the helptext for 'set boxwidth'. To create an output in black and white, simply use the option 'monochrome', which is provided by most terminals: set terminal windows monochrome After using this, the boxes should be drawn in black and white. Note, that using 'linetype' after 'with boxes' changes the fillcolor of the boxes. To change the linetype, you have to use 'with boxes fill border <number>'. See also the helptext for 'fillstyle' HTH Lars |