Learn R Programming

uroot (version 1.4-1)

bb3D: Buys-Ballot 3D Plot

Description

Draw perspective plot of surface over the season-year plane.

Usage

bb3D (wts, color=TRUE, x=30, y=30)

Arguments

wts
a univariate time series object.
color
logical. If TRUE a coloured graphic is showed. Otherwise, grey scale.
x, y
angles defining the viewing direction. x gives the azimuthal direction and y the colatitude.

Details

When the graphic is showed a window is launched as well. Coordinates of the mouse inside this window represent angles defining the viewing direction. The graphic rotates clicking on it with the right button of the mouse. For it, the package "tcltk" is used.

See Also

bbplot, bbaplot, bbcn, image, and persp.

Examples

Run this code
## Buys-Ballot 3D plot.
    data(AirPassengers)
    bb3D(wts=log(AirPassengers))
    bb3D(wts=log(AirPassengers), x=40, y=60)

Run the code above in your browser using DataLab