Skip to contents

Plot f' and f'' absorption curves for the specified chemical element. Curves can be plotted in specified wavelength regions using parameter "zoom".

Usage

plot_absorption_curves(chem_el, zoom = NULL)

Arguments

chem_el

1- or 2-letters character string. The chemical symbol of interest.

zoom

Real vector of length 2. The two values are the extremes of the wavelength window inside which to plot the two curves. Default is for both curves to be plotted across the full available range.

Value

Nothing, but causes a 2D plot to be displayed in a graphical window.

Examples

# No zoom
plot_absorption_curves("Fe")


# Zoom
plot_absorption_curves("Fe",c(1,3))