Skip to contents

Plot a wave energy spectrum at a given time, with sea-state parameters if requested.

The misspelled plot_1d_specta() spelling is a deprecated alias for this function.

Usage

plot_1d_spectra(spec, time = 1L, print_sea_state = TRUE, ...)

Arguments

spec

the spectral data, as an output from get_1d_spectrum

time

the time to plot. Either an integer or the date.

print_sea_state

should the sea_states parameters being plot ? Default to TRUE.

...

currently unused

Value

a ggplot object

Examples

plot_1d_spectra(resourcecodedata::rscd_1d_spectra, 1)