Gnuplot堆积直方图在黑色和白色

hom*_*jam 5 png monochrome gnuplot

我正在尝试将堆积直方图从gnuplot打印成黑白png.通过这个我的意思是我希望酒吧的每个区域都可以在旁边的传说旁边进行孵化或检查; 那种方式,当它打印的人仍然可以识别区域.我尝试了以下但它只留下了大黑色斑点!

set term pngcairo mono   size 750, 300
set output \"pies/interesting.png\"
set style data histograms
set style histogram rowstacked
set boxwidth 1 relative
set style fill solid 1 border -1
set yrange [0:100]
set ytics 10
set datafile separator \",\"
plot './functions-$MODE.csv.t' using 1 t \"\", for [i=9:13] '' using (100.*column(i)/column(15)) ti column(i) 
Run Code Online (Sandbox Code Playgroud)

如何让我的地区孵化?

hom*_*jam 2

为回答我自己的问题而道歉......我已经意识到堆叠直方图的行为就像正常的直方图:因此,如果我使用此页面上找到的样式: http: //gnuplot.sourceforge.net/demo/fillstyle.html我可以根据自己的喜好进行自定义:设置“设置样式填充图案边框”:

set term pngcairo mono size 750, 300
set output \"pies/interesting.png\"
set style data histograms
set style histogram rowstacked
set boxwidth 1 relative
set style fill pattern border
set datafile separator \",\"
plot './functions-$MODE.csv.t' using 1 t \"\", for [i=9:13] '' using (100.*column(i)/column(15)) ti column(i) 
Run Code Online (Sandbox Code Playgroud)

达到预期的效果。