View source: R/specta_data_ploting.R
plot_2d_specta | R Documentation |
Plot a wave density 2D spectrum
plot_2d_specta(
spec,
time = 1L,
normalize = TRUE,
trim = 0.01,
cut_off = 0.4,
...
)
spec |
the spectral data, as an output from |
time |
the time to plot. Either an integer or the date. |
normalize |
Should the spectrum be normalized to have maimum 1 before ploting |
trim |
removes the values of the spectral density lower than this value |
cut_off |
cut-off frequency above which the spectrum is not plotted |
... |
currently unused |
a ggplot object
spec <- get_2d_spectrum("SEMREVO", start = "1994-01-01", end = "1994-01-31")
plot_2d_specta(spec, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.