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


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

Re: Gaussian function

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!news.dfncis.de!not-for-mail
From Hans-Bernhard Bröker <HBBroeker@t-online.de>
Newsgroups comp.graphics.apps.gnuplot
Subject Re: Gaussian function
Date Sun, 08 Jan 2012 16:57:12 +0100
Lines 25
Message-ID <9mtsmoF8foU1@mid.dfncis.de> (permalink)
References <aef563b2-f1c4-454d-b20b-6cd369a976a6@l24g2000yqm.googlegroups.com> <9mqighFoaaU1@mid.individual.net> <300a8ee2-15be-4591-a8d0-e3219a392771@n39g2000yqh.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 dJl3ccLc59B2S7y7699HGgKbDfCXOCCaiALupCK5ujiSOM93DI8hOGjgiS
Cancel-Lock sha1:7bJaZVgIq6LxE5PoHXLG7BzeaNA=
User-Agent Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20111105 Thunderbird/8.0
In-Reply-To <300a8ee2-15be-4591-a8d0-e3219a392771@n39g2000yqh.googlegroups.com>
Xref x330-a1.tempe.blueboxinc.net comp.graphics.apps.gnuplot:837

Show key headers only | View raw


On 07.01.2012 12:27, AndreLTR wrote:

> d1(x) = Gauss(x, 70, .4)
> plot d1(x)
>
> It looks ok however I'd like to have the bell shape "wider" as well as
> the mean (70) equal to one.  Would you know how to do that?

The mean, a.k.a. the position of the maximum, is 70 because you _told_ 
it to be there.  The width of the curve is controlled explicitly by your 
commands, as well.  So all the things you said you want changed are 
controlled directly by the commands _you_ wrote.  That makes is rather 
hard to understand why you have difficulties seeing how to change them. 
  As to the _height_ at the maximum, you can have it one of two ways: 
either you plot a Gaussian distribution, or you plot a curve with its 
maximum at 1.0.  The two requests are generally incompatible.

All that combined rather looks like you have really no idea what you are 
doing.  Word to the wise: copying a formula from somewhere on the net 
does not make you understand it.

The thing you're asking to be one is not the mean.  Neither is it the 
"maximum at 1" you've said you wanted elsewhere in this thread.  It's 
the value at maximum.  And for a Gaussian of user-specified width, that 
value is hardly ever 1.0.

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


Thread

Gaussian function AndreLTR <andreltramos@gmail.com> - 2012-01-06 20:48 -0800
  Re: Gaussian function sfeam <sfeam@users.sourceforge.net> - 2012-01-06 22:36 -0800
    Re: Gaussian function AndreLTR <andreltramos@gmail.com> - 2012-01-07 02:48 -0800
  Re: Gaussian function Ron Shepard <ron-shepard@NOSPAM.comcast.net> - 2012-01-07 00:43 -0600
  Re: Gaussian function Ingo Thies <ingo.thies@gmx.de> - 2012-01-07 10:44 +0100
    Re: Gaussian function AndreLTR <andreltramos@gmail.com> - 2012-01-07 03:27 -0800
      Re: Gaussian function Hans-Bernhard Bröker <HBBroeker@t-online.de> - 2012-01-08 16:57 +0100
    Re: Gaussian function AndreLTR <andreltramos@gmail.com> - 2012-01-07 03:29 -0800
      Re: Gaussian function brendan.halpin@ul.ie (Brendan Halpin) - 2012-01-07 12:00 +0000
  Re: Gaussian function "Alex van der Spek" <zdoor@xs4all.nl> - 2012-01-08 09:46 -0500

csiph-web