View source: R/plot_compare_stage.R
plot_compare_stage | R Documentation |
Plot simulated and observed stage data
plot_compare_stage(nc_file, field_file, fig_path = NULL, ...)
nc_file |
NetCDF model output file |
field_file |
CSV or TSV field data file (see resample_to_field for format) |
fig_path |
Default is NULL (only plots to screen). Enter string path to save as output file. File type can be anything supported by |
... |
additional arguments passed to |
sim_folder <- run_example_sim(verbose = FALSE)
nc_file <- file.path(sim_folder, 'output/output.nc')
field_file <- file.path(sim_folder, 'LakeMendota_stage_USGS05428000.csv')
plot_compare_stage(nc_file, field_file) ##makes a plot!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.