|
From: Daniel J S. <dan...@ie...> - 2006-05-10 16:52:42
|
Hans-Bernhard Br=F6ker wrote: > Daniel J Sebald wrote: >=20 >> I assume that the following is still a correct statement with the=20 >> latest version of gnuplot: >> >> `histeps` is only a plotting style; `gnuplot` does not have the=20 >> ability to >> create bins and determine their population from some data set. >=20 >=20 > Not strictly. Since version 4.0 at least, there's a rudimentary=20 > histogram collection tool available: the 'smooth frequency' filter: >=20 > binwidth =3D 5 > bin(x) =3D binwidth * floor(x / binwidth) > plot 'data' using (bin($1)):1 w histeps >=20 > To my shame I haven't experimented with Ethan's histogram plotting=20 > machine enough to know how much better it might be at this same task. That is why I asked the question. I've seen Ethan's histogram demos, loo= ked at the script, but total understand if it does the binning and now th= at 'histeps' comment is obsolete. Anyway, if that prob3.dem I gave can be used, I'd think that doing a hist= ogram of randomly generated data would be a worthwhile addition. Dan |