| scale_y_s.e.response_continuous {ggspectra} | R Documentation |
Scale y continuous with defaults suitable for raw detector counts.
scale_y_s.e.response_continuous(unit.exponent = 0, name = s.e.response_label(unit.exponent), labels = SI_pl_format(exponent = -unit.exponent), ...) scale_y_s.q.response_continuous(unit.exponent = 0, name = s.q.response_label(unit.exponent = unit.exponent), labels = SI_pl_format(exponent = -unit.exponent), ...)
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 |
This function only alters two default arguments, please, see
documentation for scale_continuous
library(ggplot2) library(photobiology) ggplot(ccd.spct) + geom_line() + scale_y_s.e.response_continuous(unit.exponent = 6) + scale_x_wl_continuous() ggplot(ccd.spct, unit.out = "photon") + geom_line() + scale_y_s.q.response_continuous() + scale_x_wl_continuous()