Learn R Programming

resourcecode (version 0.5.3)

plot_1d_specta: Plot a wave density 1D spectrum at a given time

Description

Plot a wave density 1D spectrum at a given time

Usage

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

Value

a ggplot object

Arguments

spec

the spectral data, as an output from get_2Dspectrum

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

Examples

Run this code
plot_1d_specta(resourcecodedata::rscd_1d_spectra, 1)

Run the code above in your browser using DataLab