R: Wave- axis labels

w_length_label {ggspectra} | R Documentation

## Wave- axis labels

### Description

Generate wavelength, wavenumber and wave frequency axis labels in SI units, using SI scale factors. Output can be selected as character, expression (R default devices) or LaTeX (for tikz device).

### Usage

    w_length_label(unit.exponent = -9, format = getOption("photobiology.math",
      default = "R.expression"))

    w_number_label(unit.exponent = 0, format = getOption("photobiology.math",
      default = "R.expression"))

    w_frequency_label(unit.exponent = 9, format = getOption("photobiology.math",
      default = "R.expression"))

### Arguments

`unit.exponent` | integer
`format` | character string, "R", "R.expresion", "R.character", or "LaTeX".

### Value

a character string or an R expression.

### Examples

    w_length_label()
    w_length_label("R.expression")
    w_length_label("LaTeX")
    w_number_label()
    w_number_label("R.expression")
    w_frequency_label()
    w_frequency_label("R.expression")

[Package ggspectra version 0.2.3 Index]