Skip to content
Prev 344236 / 398498 Next

Plotting boundary lines from shapefiles overtop a map of Canada

Try:
  map(database= "worldHires","Canada", ylim=c(39,90),
xlim=c(-145,-25), col="grey95", fill=TRUE, projection="lambert",
param=c(50,65))
  lines(mapproject(y=yValue, x=-xValue))

mapproject does care about the sign of the longitude, but if you
incompletely reset the projection it messes things up.

Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Sep 23, 2014 at 9:36 AM, William Dunlap <wdunlap at tibco.com> wrote: