Learn R Programming

Directional (version 7.0)

Interactive 3D plot of spherical data: Interactive 3D plot of spherical data

Description

Interactive 3D plot of spherical data.

Usage

sphereplot(dat, col = NULL, bgcol = "snow")

Value

An interactive 3D plot of the spherical data will appear.

Arguments

dat

A matrix with three columns, unit-vectors, spherical data.

col

If you want the points to appear with different colours put numbers here, otherwise leave it NULL.

bgcol

The color of the surface of the sphere.

Author

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

See Also

lambert, vmf.contour, euclid

Examples

Run this code
# \donttest{
x <- rvmf(100, rnorm(3), 5)
sphereplot(x)
# }

Run the code above in your browser using DataLab