本文介绍了如何使用R在3D中绘制一组密度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要以3D方式绘制一组与时间序列相关的密度。更准确地说,我希望能够在R中构建接近此示例的图像

I need to plot, in 3D, a set of densities associated to a time series. More precisely, I would like to be able in R to build an image close to this example

此图片摘自[1]。透明度起着重要作用,因为我们可以看到xy平面中度量的轨迹。

This image is taken from [1]. The transparency plays an important role as let us see the trajectory of the "measures" in the x-y plane.

任何帮助将不胜感激。

[1]:Juban和Kariniotakis,风电预测的不确定性估计,在EWEC 2008年4月1日在比利时布鲁塞尔举行。 (我无法发布链接,谷歌将帮助感兴趣的读者。)

[1]: Juban and Kariniotakis, "Uncertainty Estimation of Wind Power Forecasts", presentation at EWEC 2008 - 01 April - Brussels, Belgium. (I can't post the link, google will help interested readers).

推荐答案

1996年,我写了一篇论文(发表于JCGS),其数字与该数字非常相似,但没有透明度。参见获取详细信息。绘图功能在CRAN上的R包中实现。该软件包在帮助文件中包含一些示例。您应该能够修改我的代码以增加透明度。

In 1996 I wrote a paper (published in JCGS) with a figure very similar to that but without the transparency. See http://robjhyndman.com/papers/estimating-and-visualizing-conditional-densities/ for the details. The plotting function is implemented in the R package hdrcde available on CRAN. The package contains some examples in the help files. You should be able to adapt my code to add the transparency.

这篇关于如何使用R在3D中绘制一组密度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-01 23:52