GNUPLOT:直方图聚类减少直方图间的空间以增加框的宽度

时间:2018-09-25 18:35:06

标签: gnuplot

是否可以减少下图中红色框标记的空间(即直方图之间的空间),以使条形宽度增加?

enter image description here

我的剧情脚本具有以下选项:

set terminal pdfcairo font "Latin-Modern-Roman-Bold,20" size 5,3
set style histogram clustered gap 1

plot \
  newhistogram "", 'mydata.tsv' using 3:xtic(1) t col ls 11, '' u 4 t col ls 6, '' u 5 t col ls 12, '' u 6 t col ls 14, '' u 7 t col ls 4, \
  newhistogram "", '' using 9:xtic(1) t col ls 11, '' u 10 t col ls 6, '' u 11 t col ls 12, '' u 12 t col ls 14, '' u 13 t col ls 4, \
  newhistogram "", '' using 15:xtic(1) t col ls 11, '' u 16 t col ls 6, '' u 17 t col ls 12, '' u 18 t col ls 14, '' u 19 t col ls 4

1 个答案:

答案 0 :(得分:0)

通过newhistogram,您可以沿x提供起始位置。

plot \
  newhistogram "" at 0, ...
  newhistogram "" at 10., ...