sl.plot.lonlatlabels | R Documentation |
Plot longitude and latitude labels over a spheRlab plot.
sl.plot.lonlatlabels(plot.init.res, lat.lons = NULL, lat.lats = NULL, lon.lons = NULL, lon.lats = NULL, col = "grey", cex = 1)
plot.init.res |
a spheRlab plot specifics list as returned by |
lat.lons |
a numeric vector specifying at which longitudes (degrees east) latitude labels are to be drawn. |
lat.lats |
a numeric vector specifying at which latitudes (degrees north) latitude labels are to be drawn. |
lat.offsetlatlon |
a 2-element numeric vector specifying the degrees latitude and longitude by which latitude labels are to be shifted. |
lon.lons |
a numeric vector specifying at which longitudes (degrees east) longitude labels are to be drawn. |
lon.lats |
a numeric vector specifying at which latitudes (degrees north) longitude labels are to be drawn. |
lon.offsetlatlon |
a 2-element numeric vector specifying the degrees latitude and longitude by which longitude labels are to be shifted. |
col |
the color to be used for the labels. |
cex |
numeric character expansion factor for the labels; multiplied by |
This function is used by sl.plot.lonlatgrid
if labels=TRUE
is set in that function, with a simple way to determine the placement of labels automatically and with few arguments to control the behaviour. For more flexibility, this function can be used directly.
Helge Goessling
sl.plot.lonlatgrid
## To be provided ...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.