Created
July 13, 2017 11:30
-
-
Save dennis-tra/d097e90e639f5568f388db4f0e9a8e35 to your computer and use it in GitHub Desktop.
Gnuplot fit gaussian curve
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gauss(x)=a/(sigma*sqrt(2.*pi))*exp(-(x-mu)**2./(2.*sigma**2)) | |
fit gauss(x) ‘gaussTest.dat’ via a, sigma, mu | |
plot "data.csv" u 1:2, gauss(x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment