把errobar放在gnuplot直方图箱图中

时间:2015-07-26 21:00:57

标签: gnuplot boxplot

我有以下数据,

          AAA      BBB      CCC      DDD
300K    7054.67  7339.43  7945.14  0 
500K    9536.64  9618.97  5816.01  909.298
700K    8746.1   8938.58  7350.93  3720.61

我使用这个gnuplot脚本来获取一个情节。

reset
set encoding utf8
set term postscript eps enhanced color "Times-Roman, 20"
set output 'test.eps'
set style data histogram
set boxwidth 1
set yrange [0:12000]
set style fill solid border -1
data1 = "file"
plot for [COL=2:5] data1 u COL:xticlabels(1) title columnheader

但是如何为列绘制错误栏?我准备了额外的列

water     AAA     AAAdy        BBB      BBBdy        CCC       CCCdy       DDD      DDDdy
300K    7054.67    350       7339.43     300       7945.14      300         0          0
500K    9536.64    300       9618.97     300       5816.01      300      909.298     300
700K    8746.1     300       8638.58     300       7350.93      300      3720.61     300

我不确定如何将这些附加列用于y-dir错误栏(第3,第5,第7和第9)。

谢谢

0 个答案:

没有答案