p <- ggplot(sun.spct) +
geom_line()
p + autotitle(sun.spct)
p + autotitle(sun.spct, object.label = "The terrestrial solar spectrum")
p + autotitle(sun.spct, annotations = "title:objt:class")
p + autotitle(sun.spct, annotations = "title:where:when:how")
p <- ggplot(sun_evening.spct) +
aes(linetype = spct.idx) +
geom_line()
p + autotitle(sun_evening.spct, annotations = "title:objt:class")
p + autotitle(sun_evening.spct, annotations = "title:where:when:how")
p + autotitle(sun_evening.spct, annotations = "title:none:none:how")
p <- ggplot(sun_evening.mspct) +
aes(linetype = spct.idx) +
geom_line()
p + autotitle(sun_evening.mspct, annotations = "title:objt:class")
Run the code above in your browser using DataLab