Scale y continuous with defaults suitable for raw detector counts.

scale_y_s.e.irrad_continuous(unit.exponent = 0,
  name = s.e.irrad_label(unit.exponent), labels = SI_pl_format(exponent
  = unit.exponent), ...)

scale_y_s.q.irrad_continuous(unit.exponent = -6,
  name = s.q.irrad_label(unit.exponent = unit.exponent),
  labels = SI_pl_format(exponent = unit.exponent), ...)

scale_y_s.q.irrad_log10(unit.exponent = -6,
  name = s.q.irrad_label(unit.exponent = unit.exponent),
  labels = SI_pl_format(exponent = unit.exponent), ...)

scale_y_s.e.irrad_log10(unit.exponent = 0,
  name = s.e.irrad_label(unit.exponent), labels = SI_pl_format(exponent
  = unit.exponent), ...)

Arguments

unit.exponent

integer

name

The name of the scale, used for the axis-label.

labels

The tick labels or a function to generate them.

...

other named arguments passed to scale_y_continuous

Note

This function only alters two default arguments, please, see documentation for scale_continuous

Examples

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(-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()