bb3D {uroot} | R Documentation |
Draw perspective plot of surface over the month-year plane.
bb3D (MR, s, t0, color, x, y)
MR |
a matrix containing the values to be plotted (NAs are allowed). |
s |
periodicity of the series. |
t0 |
a vector of two elements indicating the year and season of the first observation. |
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. |
MR
is a matrix with the data of the series defined as the matrix provided by
quarterg in quarterly series and bbmp in monthly series.
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.
Perspective graphic of the surface over the month-year plane.
Javier López-de-Lacalle javlacalle@yahoo.es and Ignacio Díaz-Emparanza etpdihei@bs.ehu.es
bbcn
, bbmp
, contour
, image
, and persp
, quarterg
.
data(AirPassengers) MR <- bbmp (vari=AirPassengers, t0 = c(1949,1), mp = c(1:12), vers = "Prot", plot = FALSE) bb3D (MR, s=12, t0=c(1949,1), color = TRUE, x = 30, y = 30)