Description Usage Arguments Value Note See Also
Produce a grid over an area, possibly interactively.
1 2 3 4 5 6 | setgrid(lat, lon = 0, type = "p", pch = "*", xlim = c(0, 0),
ylim = c(0, 0), b0 = 65, r = 1.1, country = geo::island,
xlab = "default", ylab = "default", option = "cut", reg = 0,
dx = c(0, 0), nx = c(0, 0), grpkt = 0, scale = "km", find = F,
new = F, grid = T, projection = "Mercator", n = 2500, b1 = b0,
nholes = 0)
|
lat |
Latitude |
lon |
Longitude, if not included in |
type |
Plot type |
pch |
Plot character |
xlim,ylim |
Limits for plot |
b0 |
Base latitude |
r |
Range expansion |
country |
Country plotted |
xlab,ylab |
Labels for x and y axes |
option |
Method for determining plotted area extent, default "cut" (to the range of the data) |
reg |
Region to be gridded, can be set interactively |
dx |
Resolution in each direction (?) |
nx |
Number of gridpoints in each direction (?) |
grpkt |
Gridpoints can also be supplied to the function for plotting (??????????) |
scale |
Projection scale (general |
find |
Should the gridpoints within |
new |
Plot control argument ? |
grid |
Draw grid (which grid?) |
projection |
Projection to use |
n |
Number of gridpoints (?) |
b1 |
Second latitude for the Lambert projection |
nholes |
number of holes to be sent to |
List of components:
grpt |
Gridpoints |
reg |
Region over which the grid was laid |
find |
Was |
xgr |
If
|
Needs elaboration, check use of find = TRUE
Calls a number of functions, i.e. geodefine
,
geoplot
, geopoints
, gridpoints
,
inside
, selectedpar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.