Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news.swapon.de!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail From: =?ISO-8859-1?Q?Hans-Bernhard_Br=F6ker?= Newsgroups: comp.graphics.apps.gnuplot Subject: Re: histogram : without using commanade "smooth freq" Date: Tue, 13 Aug 2013 22:35:20 +0200 Lines: 41 Message-ID: References: <0954fd20-3f7d-4898-bdd4-5e95b239bea5@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.dfncis.de QXZpX5Do+VSEwqQytCkwzAvUbmAB+oQxGCzlHEA1YEXf/EKxZgOccz84wn Cancel-Lock: sha1:M2roj87XyGN5cSa4SyZI1frIs+o= User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 In-Reply-To: <0954fd20-3f7d-4898-bdd4-5e95b239bea5@googlegroups.com> Xref: csiph.com comp.graphics.apps.gnuplot:1966 On 13.08.2013 00:35, D.GH wrote: > We note that the (left) end of the first interval should be the > minimum 'mydata' = 147, whereas here ('out1.dat' = 0). I don't know who this "we" is you're referring to, but I demand not to be included in that set. No, I don't note that the left end of the histogram should automatically be the left end of the data --- not using that binning function, anyway. To see what actually happens, plot your data modified by your binning function, but without "smooth freq": # Curve 0 of 1, 20 points # Curve title: "'mydata.dat' u 1:(bin($1))" # x y type 1120 1049.25 i 1160 1049.25 i 963 699.5 i 1546 1399 i 258 0 i 964 699.5 i 1128 1049.25 i 1169 1049.25 i 1007 699.5 i 259 0 i 179 0 i 1408 1399 i 1207 1049.25 i 1389 1049.25 i 308 0 i 1179 1049.25 i 147 0 i 508 349.75 i 1148 1049.25 i 1308 1049.25 i Note how the actual lower end of those data is not 147, like you think, but 0. Same goes for the upper end.