| plot.inla.CRS {INLA} | R Documentation |
Plot the outline of a CRS or inla.CRS projection, with optional graticules (transformed parallels and meridians) and Tissot indicatrices.
## S3 method for class 'inla.CRS'
plot(x,
xlim = NULL, ylim = NULL,
outline = TRUE,
graticule = c(15, 15, 45),
tissot = c(30, 30, 30),
asp = 1, add = FALSE,
eps=0.05, ...)
## S3 method for class 'CRS'
plot(x,
xlim = NULL, ylim = NULL,
outline = TRUE,
graticule = c(15, 15, 45),
tissot = c(30, 30, 30),
asp = 1, add = FALSE,
eps=0.05, ...)
x |
A |
xlim |
Optional x-axis limits. |
ylim |
Optional y-axis limits. |
outline |
Logical, if |
graticule |
Vector of length at most 3, to plot meridians with spacing
|
tissot |
Vector of length at most 3, to plot Tissot's indicatrices with spacing
|
asp |
The aspect ratio for the plot, default 1. |
add |
If |
eps |
Clipping tolerance for rudimentary boundary clipping |
... |
Additional arguments passed on to the internal calls to |
Finn Lindgren <finn.lindgren@gmail.com>
if (require(rgdal)) {
oblique <- c(0,45,45,0)
for (projtype in c("longlat", "lambert", "mollweide", "hammer")) {
plot(inla.CRS(projtype), main=projtype)
plot(inla.CRS(projtype, oblique=oblique), main=paste("oblique", projtype))
}
}