plot.geodomain | R Documentation |
This function plots country borders for a given domain.
## S3 method for class 'geodomain'
plot(x=.Last.domain(), add=FALSE,
col=1, mapfill=c("sandybrown","steelblue"),
add.dx=TRUE, box=TRUE,
fill=FALSE, interior=TRUE,
map.database="world", asp=1, ...)
## S3 method for class 'geofield'
plot(x, ...)
x |
A an object of |
col |
Colour of the map contours. |
mapfill |
Colour(s) used if fill=TRUE to fill the map contours. First colour is for internal (land), second for background (sea), but this only happens if add=FALSE). |
fill |
If TRUE, the map is drawn as coloured polygons, not just lines. |
interior |
If FALSE, only the physical land boundaries are shown, not the interior political borders. |
map.database |
A character string for the map database. Default is 'world' from the |
add.dx |
If TRUE, the domain size is extended by half a grid interval in all directions, i.e. the co-ordinates are treated as the centers of grid boxes. |
box |
If TRUE, a rectangular box is drawn around the domain. |
add |
If TRUE, the plot is superposed on the current plot. |
asp |
Aspect ratio. Not considered if add=TRUE. For Lat/Lon domains, NULL may be a better choice!. |
... |
Other standard graphical parameters. |
These plot methods only plot a map. For geofield
objects there are various other functions that plot the actual data.
geofield
,geodomain
, plot
, iview
, domainbox
## Not run:
ttt <- FAdec(...)
### to plot the domain of ttt (not the data itself):
plot(ttt, mapreso=.01, add=FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.