emSpectrum {SpecHelpers} | R Documentation |
Plot a pretty electromagnetic spectrum
Description
This function plots an annotated electromagnetic spectrum. There are options to include annotations about the molecular effects and/or typical applications in technology.
Usage
emSpectrum(molecular = TRUE, applications = TRUE)
Arguments
molecular |
Logical. Add annotations about molecular effects? |
applications |
Logical. Add annotations about applications? |
Value
None. Side effect is a plot.
Note
The diagram is wider than a standard R
graphics device.
You should send it to a pdf
or similar device
with the width set to 11" or so.
Details
Obviously not to scale, but hopefully aesthetically pleasing!
Author(s)
Bryan A. Hanson, DePauw University. hanson@depauw.edu
Examples
dev.new(width = 10.5, height = 3)
emSpectrum()
emSpectrum(molecular = FALSE, applications = FALSE)
dev.off()
[Package SpecHelpers version 0.2.7 Index]