Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
kvalobs:kvoss:system:qc2:8hdk376snf09zj37dk82s92:ncdf [2009-06-20 23:46:14] paule |
kvalobs:kvoss:system:qc2:8hdk376snf09zj37dk82s92:ncdf [2022-05-31 09:29:32] (current) |
||
|---|---|---|---|
| Line 15: | Line 15: | ||
| $ R CMD INSTALL ncdf | $ R CMD INSTALL ncdf | ||
| $ history | $ history | ||
| + | ... | ||
| + | ... | ||
| + | # there are perhaps even easier ways to do this: | ||
| + | |||
| + | $ install.packages(" | ||
| + | |||
| + | # no source was linked ... but the mirror choose automatically opens | ||
| + | # and one just selects a site and the install happens! | ||
| + | ... | ||
| + | $ | ||
| </ | </ | ||
| Line 22: | Line 32: | ||
| $ R | $ R | ||
| | | ||
| + | | ||
| | | ||
| nd = open.ncdf(" | nd = open.ncdf(" | ||
| Line 33: | Line 44: | ||
| | | ||
| | | ||
| + | | ||
| | | ||
| | | ||
| Line 40: | Line 52: | ||
| | | ||
| # | # | ||
| - | text(3, | + | text(0, |
| - | | + | |
| - | | + | |
| - | | + | |
| + | | ||
| - | |||
| </ | </ | ||
| + | |||
| + | Alternatively, | ||
| + | < | ||
| + | $ Rscript plot_netcdf.R "Test Plot" OUTPUT | ||
| + | </ | ||
| + | that will produce the file OUTPUT.jpg with the plot title "Test Plot". | ||
| + | * {{kvalobs: | ||
| + | |||
| + | |||