plotvolu2d: Makes a perspective plot of a 2D volume function or a 2D...

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/denpro.R View source: R/plotvolu2d.R

Description

Plots the output of function "shape2d"; this is a 2D volume function or a 2D probability content function.

Usage

1
plotvolu2d(vd, theta = NULL, phi = NULL, typer = "flat")

Arguments

vd

Output of function "shape2d"; a list containing fields x, y, z; the meaning of the fealds is the same as in the function "persp"

theta

Viewing angle (left-right); the same parameter as in "persp"

phi

Viewing angle (up-down), the same as in "persp"

typer

"flat" or "dens"; internal

Value

Plots a perspective plot in the graphics window

Author(s)

Jussi Klemela

References

Jussi Klemela (2005). Visualization of the spread of multivariate distributions.

See Also

shape2d

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
N<-c(30,30)  
lnum<-20
func<-"gumbel"
marginal<-"normal"
g<-2
ver<-3
support<-c(-ver,ver,-ver,ver)
st<-stseq(N,lnum,func=func,marginal=marginal,g=g,support=support)

gnum<-50 
ngrid=50 
vd<-shape2d(st,gnum=gnum,ngrid=ngrid) 

plotvolu2d(vd)

plotvolu2d(vd,theta=30)

denpro documentation built on May 2, 2019, 8:55 a.m.