Description Usage Arguments Examples
Basic plot
1 |
sites |
character vector of site ids |
col |
for basin fill |
mapRange |
vector of map limits (min long, max long, min lat, max lat) |
1 2 3 4 5 6 7 8 9 10 | sites <- c("01137500","01491000", "01573000", "01576000","06485500")
path <- system.file("extdata", package="hydroMap")
siteInfo <- readRDS(file.path(path,"siteInfo.rds"))
png("test.png")
plotWSB(sites)
points(siteInfo$dec_long_va, siteInfo$dec_lat_va, pch=20, col="red", cex=1)
dev.off()
plotWSB(sites[4], mapRange=c(-80,-74, 38, 46))
points(siteInfo$dec_long_va[4], siteInfo$dec_lat_va[4], pch=20, col="red", cex=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.