plotting hypervolumes from hypervolume() in 3d

2019-08-07 15:05发布

I am using the hypervolume package to construct hypervolumes in n-dimensional space.

I can't figure out how to tweak 3d plots when plot() is operated over an object of class 'Hypervolume' or 'HypervolumeList'. The arguments are listed in the package documentation for function 'plot.HypervolumeList' (pg 21).

Example using data included with package:

# Call data and run routine that will create a HypervolumeList
require(hypervolume)
data(finch)
doHypervolumeFinchDemo = T
demo(finch)

# Create 3d plot of HypervolumeList
plot(hv_finches_list, pairplot = F)

Specific questions follow. Included code that I tried--but doesn't work.

  1. How do I change the size of the data points?

    plot(hv_finches_list, pairplot = F, cex.data = 5)
    
  2. How do I choose whether to plot the uniformly random points?

    plot(hv_fiches_list, pairplot = F, showrandom = T)
    
  3. Is it possible to add centroids or contours to the 3d plot?

    plot(hv_finches_list, pairplot = F, showcentroid = T)
    

标签: r plot 3d
0条回答
登录 后发表回答