我刚接触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