Description Usage Arguments References Examples
Generates a Gaussian curve based on the input data.
1 | gr_gaussian(x, G, x_0, A)
|
x |
Point along x-axis, e.g. the wavenumber |
G |
Full-width at half max of the peak |
x_0 |
Center of the peak |
A |
Area of the peak |
http://mathworld.wolfram.com/GaussianFunction.html
1 2 | x <- 1:1000
plot(x, gr_gaussian(x, G = 10, x_0 = 500, A = 10))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.