View source: R/planck.distribution.functions.R
planck.distribution | R Documentation |
This is a function to plot the Plank distribution as a function of wavenumber, wavelength or frequency.
planck.distribution(typ, x.min, x.max, Temp, plotQ = FALSE)
typ |
Scale units for witch to compute the Planck distribution. Choices are: "wavenumber", "wavelength", "frequency" |
x.min |
The smallest domain value to use. Use something at least little larger than 0 |
x.max |
The largest domain to use |
Temp |
The temperature in Kelvin |
plotQ |
Whether or not to plot the distribution |
This wrapper is a function to plot the Plank distribution as a function of wavenumber, wavelength or frequency.
A two column matrix. The first column is the x-axis over which the Planck distribution was computed (m^-1, m or s^-1). The second column is the Planck distribution values
#USE the function planck.distribution below:
planck.distribution(typ = "wavenumber", 10000, 3000000, 1500, plotQ = T)
planck.distribution(typ = "wavelength", 10e-9, 10000e-9, 1500, plotQ = T)
planck.distribution(typ = "frequency", 10e10, 6e14, 1500, plotQ = T)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.