Changes between Version 1 and Version 2 of udg/ecoms/RPackage/examples/continentalSelection

Ignore:
Timestamp:
Feb 20, 2014 11:03:06 AM (8 years ago)
Comment:

--

Legend:

Unmodified
 v1 {{{ monsoon <- loadSeasonalForecast("CFS", var="tp", members=16, lonLim=c(65,92), latLim=c(5,37), season=6:9, years=1997) }}} The georeferencing of the data is stored as a SpatialGrid, which has several convenient attributes for an effective description of a gridded field, including the possibility of defining a coordinate reference system, highly useful -sometimes indispensable- for many geospatial operations. Plotting objects inheriting from this class or related classes (e.g. SpatialGridDataFrame) is straightforward using the spplot methods, as described in [wiki:../Trellis the previous example], but it is not directly usable as input for other plotting methods in R. Next, we present some typical plotting functions and how to extract the spatial coordinates in a suitable format for plotting.