Description Usage Arguments Value Examples
Draws a persistence terrace.
1 | plotpt(xyz, dimension, cmax = 10, satellite = T)
|
xyz |
a list of computed persistence terraces returned by the function computept. |
dimension |
an integer selecting the dimension of the persistence terrace to plot. |
cmax |
an integer specifying the maximum number of colors to be used. The default value is 10. |
satellite |
a logical variable to select a viewpoint. If |
The function plotpt
returns the persistence terrace graphic.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # load three circle data
data(three_circle_dat)
# input variables
Xlim <- c(-4,12)
Ylim <- c(-4,9)
lim <- cbind(Xlim, Ylim)
by <- 0.1
spseq <- seq(0.01,1.5,length.out = 25)
# compute persistence terrace
## Not run:
threecirclept <- computept(three_circle_dat,sp=spseq,lim=lim,by=by)
# draw persistence terrace, satellite view
plotpt(threecirclept,dimension=1)
# draw persistence terrace, overall view
plotpt(threecirclept,dimension=1,satellite=FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.