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


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

Re: histogram : without using commanade "smooth freq"

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From sfeam <sfeam@users.sourceforge.net>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: histogram : without using commanade "smooth freq"
Followup-To comp.graphics.apps.gnuplot
Date Wed, 14 Aug 2013 08:46:51 -0700
Organization gnuplot development team
Lines 43
Message-ID <kug8pa$h17$1@dont-email.me> (permalink)
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> <9a3488c0-c506-4c0c-a254-f2b0f7bc5eb4@googlegroups.com> <kug45h$7ho$1@news.rz.uni-karlsruhe.de>
Reply-To sfeam@users.sourceforge.net
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
Injection-Date Wed, 14 Aug 2013 15:46:50 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="e947cb29d2533e27aa00183e80187dbb"; logging-data="17447"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19lim8H6TEm3LB3hioH7dER"
User-Agent KNode/4.4.9
Cancel-Lock sha1:6Y9rQLWw0BrpQfFpYwFAoU9R1Dc=
Xref csiph.com comp.graphics.apps.gnuplot:1968

Followups directed to: comp.graphics.apps.gnuplot

Show key headers only | View raw


Karl wrote:

> Am 13.08.2013 19:48, schrieb D.GH:
>> bin(x) =XX_min+bs*int(x/bs)
> 
>> 
>> I do not understand why xlow  = xhigh ?
> 
> Somehow the combination of "smooth freq" and "with boxes" doesn´t work
> correctly. The width of the boxes cannot be changed :
> 
> ===
> set yrange [0:]
> 
> boxwidth=0.2

The command you want is
   set boxwidth 0.2 absolute




> 
> plot '-' using ($1):(1):(boxwidth) smooth freq w boxes
> 1
> 2
> 2
> 3
> e
> ===
> 
> They always stretch up to the next box, and the table output then
> prints nonsense too.
> 
> 
> 
> But xlow and xhigh would in any case only contain the average of the
> centers of adjacent boxes. Any information on the actual values that
> contribute to the individual bins is cut off by the int() function in
> your binning.
> 
> 
>   Karl

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