我的数据集是这样的:
5 12.467 12.331865 12.602135 12.8 12.8 12.8 10 122.766 121.64268 123.88932 51.50933304 48.67632 54.34234696 15 42.97799961 40.61421 45.34179039 6.254 5.91003 6.59797 20 70.933 70.379865 71.486135 0 0 0 25 1226.94033297 1225.463565 1228.41710203 1001.91700041 977.46603459 1026.367965 30 55.537 52.482465 58.591535 0 0 0 40 1628.744 1598.99428 1658.49372 0 0 0
第1列是xtics,第3列和第6列是主要数据。 第2,4和5,7列是误差范围。如何在箱形图中绘制这些数据? 以下代码用折线图绘制它:
plot [0:50] "data.dat" using 1:2:3:4 with yerrorlines title "title1", \ "" using 1:5:6:7 with yerrorlines title "title2"