如何在gnuplot中的每个盒子顶部放置标签?

时间:2010-08-17 00:06:01

标签: gnuplot boxplot

我有一组数据,看起来像[0.5, 0.3, 0.15,0.0, 0.0, -0.09, -0.25,-0.4]

我想在每个方框的顶部放置相应的标签(或数字),以表明哪一个是哪个。

有人知道怎么做吗??

感谢。

1 个答案:

答案 0 :(得分:4)

使用1:3绘制'data.txt',方框为lt 1 title columnheader(3),\      'data.txt'使用1:3 :( sprintf(“%。0f”,$ 3))标签字体“Helvetica,8”中心偏移0,0.5 notitle