More

Resize map and add points to it using R

Resize map and add points to it using R


I am working with spatial data UK.

The map is plotted here. I want to resize the map and make it bigger and clear!

here is my code

LA <- readOGR(dsn =".", "infuse_dist_lyr_2011_clipped")

plot(LA)


The native plot window of R does not have zoom capability, but here are some options:

  • resize your plot window
  • only plot a section of the map by specifyingxlimandylimarguments toplot()
  • write the map to a very large pdf, e.g. precede theplotcommand bypdf("file.pdf", width=20, height=20)and send this to a plotter
  • write to the plot to pdf, load in a pdf viewer, and zoom there