emSpectrum: Plot a pretty electromagnetic spectrum

Description Usage Arguments Value Note Details Author(s) Examples

View source: R/emSpectrum.R

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

1
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

1
2
3
4
dev.new(width = 10.5, height = 3)
emSpectrum()
emSpectrum(molecular = FALSE, applications = FALSE)
dev.off()

Example output

png 
  2 

SpecHelpers documentation built on May 2, 2019, 11:01 a.m.