Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #1964

Re: histogram : without using commanade "smooth freq"

Newsgroups comp.graphics.apps.gnuplot
Date 2013-08-13 06:45 -0700
References <e0059ccb-ef28-4df1-9e19-a66392495f49@googlegroups.com> <ku9u8s$nh6$1@news.rz.uni-karlsruhe.de> <0954fd20-3f7d-4898-bdd4-5e95b239bea5@googlegroups.com> <kucnne$s3o$1@news.rz.uni-karlsruhe.de>
Message-ID <4003044f-b91e-4823-875f-9a9ca0653f5a@googlegroups.com> (permalink)
Subject Re: histogram : without using commanade "smooth freq"
From "D.GH" <dariush.ghorbanzadeh@gmail.com>

Show all headers | View raw


On Tuesday, August 13, 2013 9:37:25 AM UTC+2, Karl wrote:
> On 13.08.2013 00:35, D.GH wrote:
> 
> > On Monday, August 12, 2013 8:10:38 AM UTC+2, Karl wrote:
> 
> >> Am 12.08.2013 01:29, schrieb D.GH:
> 
> > 
> 
> > # Curve 0 of 1, 6 points
> 
> > # x y xlow xhigh type
> 
> >  0  5  0  0  i
> 
> >  349.75  1  349.75  349.75  i
> 
> >  699.5  3  699.5  699.5  i
> 
> >  1049.25  9  1049.25  1049.25  i
> 
> >  1399  2  1399  1399  i
> 
> >  349.75  1  349.75  349.75  u   ***(I do not understand why there is this last line!)
> 
> > 
> 
> 
> 
> Do you have the latest version of gnuplot? I remember there was a
> 
> bug that adds invalid lines to a table when there is an empty line
> 
> in a dataset.
> 
> 
> 
> Otherwise this might just be another bug of the table output in
> 
> conjunction with "boxes" or with "smooth freq". Probably a very
> 
> rarely used combination.
> 
> 
> 
> > #######
> 
> > We note that the (left) end of the first interval should be the minimum 'mydata' = 147, whereas here ('out1.dat' = 0). the (right) end of the last interval should be maximum 'mydata' = 1546, whereas here ('out1.dat' = 1399).
> 
> > 
> 
> > This is why I asked if there was another way to construct the histogram of intervals.
> 
> > 
> 
> 
> 
> Well, you´ll just have to make the binning function a bit more
> 
> elaborate. You can get the minimum/maximum of your dataset with the
> 
> "stats" command before plotting.
> 
> 
> 
> Best,
> 
>   Karl



On Tuesday, August 13, 2013 9:37:25 AM UTC+2, Karl wrote:
> On 13.08.2013 00:35, D.GH wrote:
> 
> > On Monday, August 12, 2013 8:10:38 AM UTC+2, Karl wrote:
> 
> >> Am 12.08.2013 01:29, schrieb D.GH:
> 
> > 
> 
> > # Curve 0 of 1, 6 points
> 
> > # x y xlow xhigh type
> 
> >  0  5  0  0  i
> 
> >  349.75  1  349.75  349.75  i
> 
> >  699.5  3  699.5  699.5  i
> 
> >  1049.25  9  1049.25  1049.25  i
> 
> >  1399  2  1399  1399  i
> 
> >  349.75  1  349.75  349.75  u   ***(I do not understand why there is this last line!)
> 
> > 
> 
> 
> 
> Do you have the latest version of gnuplot? I remember there was a
> 
> bug that adds invalid lines to a table when there is an empty line
> 
> in a dataset.
> 
> 
> 
> Otherwise this might just be another bug of the table output in
> 
> conjunction with "boxes" or with "smooth freq". Probably a very
> 
> rarely used combination.
> 
> 
> 
> > #######
> 
> > We note that the (left) end of the first interval should be the minimum 'mydata' = 147, whereas here ('out1.dat' = 0). the (right) end of the last interval should be maximum 'mydata' = 1546, whereas here ('out1.dat' = 1399).
> 
> > 
> 
> > This is why I asked if there was another way to construct the histogram of intervals.
> 
> > 
> 
> 
> 
> Well, you´ll just have to make the binning function a bit more
> 
> elaborate. You can get the minimum/maximum of your dataset with the
> 
> "stats" command before plotting.
> 
> 
> 
> Best,
> 
>   Karl

> Do you have the latest version of gnuplot? 

I have Version 4.6. (for windows)

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

histogram :  without using commanade "smooth freq" "D.GH" <dariush.ghorbanzadeh@gmail.com> - 2013-08-11 16:29 -0700
  Re: histogram :  without using commanade "smooth freq" Karl <mail.kfr@gmx.net> - 2013-08-12 08:10 +0200
    Re: histogram :  without using commanade "smooth freq" "D.GH" <dariush.ghorbanzadeh@gmail.com> - 2013-08-12 15:35 -0700
      Re: histogram :  without using commanade "smooth freq" Karl <ratzsch@polymer.uka.de> - 2013-08-13 09:37 +0200
        Re: histogram :  without using commanade "smooth freq" "D.GH" <dariush.ghorbanzadeh@gmail.com> - 2013-08-13 06:45 -0700
        Re: histogram :  without using commanade "smooth freq" "D.GH" <dariush.ghorbanzadeh@gmail.com> - 2013-08-13 10:48 -0700
          Re: histogram :  without using commanade "smooth freq" Karl <mail.kfr@gmx.net> - 2013-08-14 16:27 +0200
            Re: histogram :  without using commanade "smooth freq" sfeam <sfeam@users.sourceforge.net> - 2013-08-14 08:46 -0700
              Re: histogram :  without using commanade "smooth freq" Karl <mail.kfr@gmx.net> - 2013-08-14 18:48 +0200
              Re: histogram :  without using commanade "smooth freq" Karl <mail.kfr@gmx.net> - 2013-08-14 18:54 +0200
                Re: histogram :  without using commanade "smooth freq" sfeam <sfeam@users.sourceforge.net> - 2013-08-14 18:05 -0700
                Re: histogram :  without using commanade "smooth freq" "D.GH" <dariush.ghorbanzadeh@gmail.com> - 2013-08-15 16:00 -0700
                Re: histogram :  without using commanade "smooth freq" sfeam <sfeam@users.sourceforge.net> - 2013-08-15 17:18 -0700
      Re: histogram :  without using commanade "smooth freq" Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2013-08-13 22:35 +0200

csiph-web