R或GNUPLOT中的栅栏图(或Wall plot?)密度图

时间:2013-11-22 01:07:42

标签: r gnuplot histogram density-plot fence-plots

嗨我有一些用于系统随机模拟的合奏。我想将这些数据表示为栅栏图中的直方图,其方式与此处显示的类似:

3D parametric graph in Gnuplot

http://lee-phillips.org/qdf/

http://gnuplot-tricks.blogspot.mx/2009/08/return-of-wall-chart-entirely-in.html

但是,我不确定如何使用直方图(原则上,我在GNUPLOT中制作直方图非常困惑,我已经检查了Histogram using gnuplot?和其他一些帖子)。我知道如何在R中制作直方图,并且我成功地尝试了这样的事情:http://rgraphgallery.blogspot.mx/2013/04/rg10-plotting-multiple-suprimposed.html http://learnr.wordpress.com/2009/06/28/ggplot2-version-of-figures-in-lattice-multivariate-data-visualization-with-r-part-1/

我的数据如下:

 #              time                  Aa                  As
 0.000000000000e+00  0.000000000000e+00  0.000000000000e+00
 5.000000000000e-01  0.000000000000e+00  0.000000000000e+00
 1.000000000000e+00  0.000000000000e+00  0.000000000000e+00
 1.500000000000e+00  0.000000000000e+00  0.000000000000e+00
 2.000000000000e+00  2.000000000000e+00  0.000000000000e+00
 2.500000000000e+00  2.000000000000e+00  0.000000000000e+00
 3.000000000000e+00  2.000000000000e+00  0.000000000000e+00
 3.500000000000e+00  2.000000000000e+00  0.000000000000e+00
 4.000000000000e+00  2.000000000000e+00  0.000000000000e+00
 4.500000000000e+00  3.000000000000e+00  0.000000000000e+00
 .
 .
 0.000000000000e+00  0.000000000000e+00  0.000000000000e+00
 5.000000000000e-01  0.000000000000e+00  0.000000000000e+00
 1.000000000000e+00  0.000000000000e+00  0.000000000000e+00
 1.500000000000e+00  0.000000000000e+00  0.000000000000e+00
 2.000000000000e+00  0.000000000000e+00  0.000000000000e+00
 2.500000000000e+00  0.000000000000e+00  0.000000000000e+00
 3.000000000000e+00  2.000000000000e+00  0.000000000000e+00
 3.500000000000e+00  3.000000000000e+00  0.000000000000e+00
 4.000000000000e+00  3.000000000000e+00  0.000000000000e+00
 .
 .
 .

我有大约1000种不同的随机模拟,我想在不同时间绘制Aa列的密度图,例如时间零点,100和1000.并使它看起来像我在这里包括的第一个帖子。我希望这篇文章足够明确。请告知我们您需要更多信息。

0 个答案:

没有答案