Plot a globe using rgl
Creates a textured sphere and lon/lat coordinate annotations.
globe( R = 1, R.grid = 1.05, specular = "black", axes = FALSE, box = FALSE, xlab = "", ylab = "", zlab = "" )
R |
Radius of the globe |
R.grid |
Radius of the annotation sphere. |
specular |
Light color of specular effect. |
axes |
If TRUE, plot x, y and z axes. |
box |
If TRUE, plot a box around the globe. |
xlab, ylab, zlab |
Axes labels |
This funciton requires the rgl
and sphereplot
packages.
No value, used for plotting side effect.
Other inlabru RGL tools:
glplot.SpatialLines()
,
glplot.SpatialPoints()
,
glplot.inla.mesh()
,
glplot()
## Not run: if (bru_safe_inla() && require("rgl", quietly = TRUE) && require("sphereplot", quietly = TRUE)) { # Load pantropoical dolphin data data("mexdolphin", package = "inlabru") # Show the globe globe() # Add mesh, ship transects and dolphin sightings stored # as inla.mesh, SpatialLines and SpatialPoints objects, respectively glplot(mexdolphin$mesh) glplot(mexdolphin$samplers) glplot(mexdolphin$points) } ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.