Learn R Programming

SpecHelpers (version 0.2.7)

emSpectrum: 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.

Details

Obviously not to scale, but hopefully aesthetically pleasing!

Examples

Run this code
# NOT RUN {
dev.new(width = 10.5, height = 3)
emSpectrum()
emSpectrum(molecular = FALSE, applications = FALSE)
dev.off()
# }

Run the code above in your browser using DataLab