plot.sphwin | R Documentation |
Plots a spherical window, representing a region on the sphere.
## S3 method for class 'sphwin' plot(x, ..., eye, top, add = FALSE)
x |
Object of class |
... |
Additional graphics parameters. |
eye |
Spatial position of the viewer. Either a numeric vector
of length 2 (interpreted as giving colatitude and longitude
respectively in radians),
or a numeric vector of length 3 (interpreted as the
three-dimensional Cartesian coordinates) or a list with entries
|
top |
Location on the sphere that should be at the top of the plot.
Same format as |
add |
Logical value indicating whether to add the window to an
existing plot. This will only work correctly if the same
values of |
The plot shows the half of the sphere that is visible
from the eye
position (i.e. all locations u for which d(u,eye) <= pi*rho/2, where rho is the radius of the sphere).
Null.
Adrian Baddeley.
plot.sp2
,
sphwin
.
sphcap <- sphwin(type="band", param=c(0, pi/3), ref=c(pi/8,pi/6)) plot(sphcap)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.