From: Maarten A. <m.h...@re...> - 2005-05-05 16:21:00
|
Hi! First of all: gnuplot 4 is fantastic! I'd like to use the "smooth frequency" option to plot histograms and plot the histogram with boxes (needed because the "with histeps" is no good when there are bins with no members), something like: plot 'problemsheet_results.dat' u (5*floor(($1)*0.2)+2.5):(1) s f w boxes This unfortunately does not work: when I set the boxwidth the system reacts in unexpected ways, for example typing: set boxwidth 4 absolute I get some correct boxes but most of them are plotted as boxes with zero widths. If I produce the frequency data myself the "with boxes" option works great, as in: plot 'frequency.dat' w boxes (I run gnuplot under Mac OS X 10.3 "Panther" -- with a successful build I did myself) Cheers, Maarten Dr Maarten H P Ambaum University of Reading t +44 (0)118 378 6609 Dept of Meteorology f +44 (0)118 378 8905 Earley Gate, PO Box 243 www.met.reading.ac.uk Reading RG6 6BB, UK |