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: =?ISO-8859-1?Q?Hans-Bernhard_Br=F6ker?= 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> References: <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 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.