GlobeView {GEOmap} | R Documentation |
Global Plot
Description
Plot global view of the earth
Usage
GlobeView(phicen, lamcen, worldmap, MAXR, SEL = 1,
circol = rgb(1, 0.8, 0.8), innercol = "white", linecol = rgb(0, 0, 0),
mapcol = rgb(0, 0, 0), backcol = "white", add=FALSE, antip=TRUE)
Arguments
phicen |
Latitude |
lamcen |
Longitude |
worldmap |
Map List |
MAXR |
Maximum radius (degrees) |
SEL |
Selection index from map |
circol |
color for concentric circles |
innercol |
inner color |
linecol |
line color, NA=do not plot |
mapcol |
map fill color, NA=do not fill polygon |
backcol |
background color |
add |
logical, FALSE means start a new plot |
antip |
logical, default=TRUE means white out area outside of polygon |
Details
Creates a plot of view of the globe from a point in space using an Equal-Area projection. Uses the lamaz.eqarea routine for projection. (Lambert-Azimuthal Equal Area). Using NA for linecol or mapcol means do not plot lines or fill polygons respectively.
Value
Perimeter |
x,y points around the perimeter of the plot |
Author(s)
Jonathan M. Lees<jonathan.lees@unc.edu>
See Also
plotGEOmap, lamaz.eqarea
Examples
data(coastmap)
phicen =32.20122+5
lamcen = 335.7092+20
MAXR = 100
carolinablue = rgb(83/255, 157/255, 194/255)
SEL=which( coastmap$STROKES$code=="C")
SEL = c(SEL, which(coastmap$STROKES$nam=="GreatBritain"),
which(coastmap$STROKES$nam=="Japan"), which(coastmap$STROKES$nam=="Ireland"))
PER = GlobeView(phicen, lamcen, SEL=SEL, coastmap, MAXR,
linecol=rgb(.2, .2, .2), mapcol=rgb(.8, .8, .8),
innercol=carolinablue , circol=carolinablue , backcol="white")
[Package GEOmap version 2.5-11 Index]