|
From: Thomas S. <t.s...@fz...> - 2011-02-28 16:31:43
|
define the gauss-function, gauss(x)=amplitude/(sigma*sqrt(2.*pi))*exp(-(x-position)**2/(2.*sigma**2)) fit it to the data, fit 'datafilename' gauss(x) via amplitude, position, sigma and then plot it: plot 'datafilename' with histeps, gauss(x) and try to set 'amplitude', 'position', and 'sigma' to reasonable values before fitting, otherwise the fit may get lost. baouche wrote: > > Hello, > > Thanks for your reply but it's not exactly what i want, this is the kind > of result that i want : > > http://old.nabble.com/file/p31030805/stat0108_wmf.gif > > Regards. > -- View this message in context: http://old.nabble.com/how-to-draw-Gaussian-shape-with-histogram-tp31029938p31031085.html Sent from the Gnuplot - User mailing list archive at Nabble.com. |