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.
crish wrote:
>
>
>
> Dear GNU !
>
> I have a doubt regarding , fitting a gaussian for a plot
>
> I have a x,y data, I have plotted it and I want to know the area of the
> plot ( it is a normal distribution)
> and the full width half maximum of the plot .
>
> Is it possible to do it in GNU if so kindly let me know !
>
> regards
> balaji
>
>
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> gnuplot-info mailing list
> gnu...@li...
> https://lists.sourceforge.net/lists/listinfo/gnuplot-info
>
>
--
View this message in context: http://old.nabble.com/fitting-a-gaussian-tp31816116p31816809.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|