| plotGEOmap {GEOmap} | R Documentation | 
Plot a GEO map
Description
High Level plot of GEO map
Usage
plotGEOmap(MAP, LIM = c(-180, -90, 180, 90) ,
shiftlon = 0, add = TRUE ,
NUMB = FALSE , SEL = NULL, MAPcol = NULL,
MAPstyle = NULL, border=NA,
PLOT = TRUE, PRINT=FALSE, BB = FALSE, ...)
Arguments
MAP | 
 Map Structure  | 
LIM | 
 Lat-Lon limits  | 
add | 
 logical, TRUE= add to existing plot  | 
SEL | 
 Index vector of strokes to be used in plotting, default=NULL(use all that pass other tests)  | 
MAPcol | 
 override color for maps  | 
MAPstyle | 
 override plotting style for maps  | 
border | 
 color, add border to polygons, NA=no border  | 
shiftlon | 
 degrees, rotate longitude  | 
NUMB | 
 logical, number the strokes on the map  | 
PLOT | 
 logical, TRUE=plot map, else just set up plotting area  | 
PRINT | 
 logical, TRUE=show selected stroke indeces on the screen(default=FALSE)  | 
BB | 
 logical, TRUE=add bounding box to each stroke (default=FALSE)  | 
... | 
 graphical parameters  | 
Details
plotGEOmap does not plot a projected map. MAPcol and MAPstyle can be used to override the colors and style in the map-list. These are applied to all the strokes.
Value
Graphical Side Effects
Author(s)
Jonathan M. Lees<jonathan.lees.edu>
See Also
plotGEOmapXY, DOTOPOMAPI, addLLXY
Examples
library(geomapdata)
data(coastmap)
plotGEOmap(coastmap , xaxs='i', yaxs='i')
####################   example:
coastmap$STROKES$col[coastmap$STROKES$code=="C" ] = rgb(1, .6, .6)
coastmap$STROKES$col[coastmap$STROKES$code=="c" ] = rgb(1, .9, .9)
coastmap$STROKES$col[coastmap$STROKES$code=="L" ] = rgb(.6, .6, 1)
plot(c(-30, 370), c(-85, 85), type='n', ann=FALSE,  xaxs='i', yaxs='i')
plotGEOmap(coastmap , border='black' , add=TRUE)
title(xlab="Longitude", ylab="Latitude" )
grid()
box()
## Not run: 
###  political map of the world
library(geomapdata)
plotGEOmap(coastmap , border='black' , add=FALSE, xaxs='i')
data(europe.bdy)
data(asia.bdy)
data(africa.bdy)
data(namer.bdy)
data(samer.bdy)
data(USAmap)
plotGEOmap(europe.bdy ,  add=TRUE)
plotGEOmap(asia.bdy ,  add=TRUE)
plotGEOmap(africa.bdy ,  add=TRUE)
plotGEOmap(namer.bdy ,  add=TRUE)
plotGEOmap(samer.bdy ,  add=TRUE)
plotGEOmap(USAmap ,  add=TRUE)
## End(Not run)