【发布时间】:2013-11-13 17:29:37
【问题描述】:
我是 gnuplot 的新手,我想为一组任意长度的数据绘制三重直方图。
这是我的代码,但set palette gray 行似乎没有效果——一切都还在 RGB 中。我在这里错过了什么?
set terminal pdf enhanced
set output 'out.pdf'
set palette gray
set style data histogram
set style histogram cluster gap 1
set style fill solid 1
set auto x
set yrange [0:*]
plot 'in.dat' using 2:xtic(1) title col, \
'' using 3:xtic(1) title col, \
'' using 4:xtic(1) title col
【问题讨论】:
标签: gnuplot histogram grayscale