|
From: Kristis M. <kri...@as...> - 2007-02-10 19:30:25
|
OK, will do. It seems that gnuplot 4.2 has support for this "clustering" of boxes: http://gnuplot.sourceforge.net/demo_4.2/histograms.html Other people had to write their own scripts for automatically producing these boxwidths: http://www.burningcutlery.com/derek/bargraph/ Scary! On Sat, 2007-02-10 at 18:27 +0100, Hans-Bernhard Bröker wrote: > Kristis Makris wrote: > > I'm having a hard time finding a gnuplot example that shows how I can > > produce a bar graph, like the one in the following link, that will have > > each bar adjacent to each other. > > Fix their width with 'set boxwidth', then use the 'using' option to > shift the boxes' x position around. E.g.: > > set boxwidth 0.04 > plot 'data' using ($1-0.02):2 with boxes, \ > 'data' using ($1+0.02):2 with boxes > |