Description Usage Arguments Value Examples
This function is very slightly modified from .plotCT
function in raster
package to avoid producing an empty plot before the actual Google image.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
x |
RasterLayer, as obtained through |
maxpixels |
integer > 0. Maximum number of cells to use for the plot. If |
ext |
An extent object to zoom in a region |
interpolate |
Logical. Should the image be interpolated (smoothed)? |
axes |
not used |
main |
character. Main plot title |
xlab |
Optional. x-axis label |
ylab |
Optional. y-axis label |
asp |
not used |
add |
Logical. Add to current plot? |
addfun |
Function to add additional items such as points or polygons to the plot (map). Typically containing statements like "points(xy); plot(polygons, add=TRUE)". This is particularly useful to add something to each map when plotting a multi-layer Raster* object. |
zlim |
not used |
zlimcol |
not used |
... |
Graphical parameters. Any argument that can be passed to |
A plot.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.