Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.graphics.apps.gnuplot > #837
| From | Hans-Bernhard Bröker <HBBroeker@t-online.de> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: Gaussian function |
| Date | 2012-01-08 16:57 +0100 |
| 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> |
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 | Next — Previous in thread | Next in thread | Find similar
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