library(oce)
data(coastlineWorld)
longitude <- coastlineWorld[['longitude']]
latitude <- coastlineWorld[['latitude']]
mapPlot(longitude, latitude, type='l',
latitudelim=c(0,120), longitudelim=c(-80,10),
grid=10,
projection="orthographic", orientation=c(45,-100,0))
## Illustrate the Lambert conformal conic projection,
## said by Snyder (page 34) to be suitable for regions
## of large east-west extent away from the equator.
## Here, show USA and Canada.
mapPlot(coastlineWorld, type='l',
latitudelim=c(30,60), longitudelim=c(-130,-50),
proj="lambert",
parameters=c(lat0=40,lat1=60),
orientation=c(90,-90,0), grid=TRUE)
## Similar looking map, with the polyconic projection
mapPlot(coastlineWorld, type='l',
latitudelim=c(30,60), longitudelim=c(-130,-50),
proj="polyconic", orientation=c(90, -90,0), grid=TRUE)
Run the code above in your browser using DataLab