ggplot(sun.spct) +
geom_line() +
scale_y_s.e.irrad_continuous() +
scale_x_wl_continuous()
ggplot(sun.spct) +
geom_line() +
scale_y_s.e.irrad_continuous(label.text = "") +
scale_x_wl_continuous()
ggplot(sun.spct) +
geom_line() +
scale_y_s.e.irrad_continuous(label.text = "Irradiancia spectral,") +
scale_x_wl_continuous(label.text = "Longitud de onda,")
ggplot(sun.spct) +
geom_line() +
scale_y_s.e.irrad_continuous(unit.exponent = -1) +
scale_x_wl_continuous()
ggplot(sun.spct, unit.out = "photon") +
geom_line() +
scale_y_s.q.irrad_continuous() +
scale_x_wl_continuous()
ggplot(clip_wl(sun.spct, c(295, NA))) +
geom_line() +
scale_y_s.e.irrad_log10() +
scale_x_wl_continuous()
ggplot(clip_wl(sun.spct, c(295, NA)),
unit.out = "photon") +
geom_line(na.rm = TRUE) +
scale_y_s.q.irrad_log10() +
scale_x_wl_continuous()
photon_as_default()
normalized_sun.spct <- normalize(sun.spct)
ggplot(normalized_sun.spct) +
geom_line(na.rm = TRUE) +
scale_y_s.q.irrad_continuous(normalized =
getNormalized(normalized_sun.spct)) +
scale_x_wl_continuous()
unset_radiation_unit_default()
Run the code above in your browser using DataLab