Description Usage Arguments See Also Examples
Plot a slice extracted from a NetCDF file
1 2 3 4 5 6 7 8 9 10 11 |
x |
a NetCDF slice object, extracted via |
... |
passed to the plotting function |
1 2 3 4 5 6 | nc <- nc_open(system.file("extdata", "sresa1b_ncar_ccsm3.nc", package="ncdf4helpers"))
x <- ncvar_slice(nc, "tas", lon=10:30, lat=30:50)
nc_close(nc)
image(x)
contour(x, add=TRUE)
persp(x, theta=210, phi=30)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.