问题描述
我需要在 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].透明度起着重要的作用,让我们可以看到 x-y 平面中度量"的轨迹.
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 日 - 比利时布鲁塞尔.(我不能发链接,google 会帮助感兴趣的读者).
[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 上),其中的图形非常相似,但没有透明度.见 http://robjhyndman.com/papers/estimating-and-visualizing-conditional-densities/ 了解详情.绘图功能在 CRAN 上可用的 R 包 hdrcde 中实现.该软件包在帮助文件中包含一些示例.您应该能够调整我的代码以添加透明度.
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 中绘制一组密度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!