scale_xy_map | R Documentation |
Define nice looking x and y axes conventions for maps plotted with ggplot2
scale_xy_map(...)
... |
passed to |
This sets expand=c(0,0)
to maximum map extent, map-py axes titles and labels, and removes minor breaks to be consistent among coord_quickmap
and coord_map
.
## Not run: library("ggplot2") ggplot(thaixyz) + coord_quickmap() + geom_raster(aes(x=x, y=y, fill=z)) + scale_fill_wikitopo() + scale_xy_map() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.