Animated plots of spectra

Using ‘ggspectra’ and ‘gganimate’

Photobiology examples
Author

Pedro J. Apahlo

Published

2025-02-16

Modified

2025-06-29

Abstract

This page used to contain example animated plots and R code for time series and collections of spectra. It has been replaced by package documentation linked below.

Keywords

photobiology pkg, ggpmisc pkg, gganimate pkg

Note

This page has been replaced by the article Animated plots of spectral data included in the on-line documentation of R package ‘ggspectra’ version >= 0.3.16.

The reason for this migration is that the interaction between packages ‘ggspectra’, ‘gganimate’ and ‘ggplot2’ is rather fragile and the examples need frequent checks and updates. This is better handled in the package documentation than in a page at this website.