我正在绘制烛台图。如何将晶须的颜色设置为黑色?现在,它与盒子的其余部分相同。到目前为止,这是我的代码:
set terminal svg
set output 'out.svg'
set key off
set xlabel 'X'
set ylabel 'Y'
set title 'Data'
set xrange [0:4]
set yrange [0:100]
set tics scale 0.5
set xtics nomirror
set ytics nomirror
set style fill solid noborder
set linetype 1 lc rgb 'red'
set linetype 2 lc rgb '#009900'
set linetype 3 lc rgb 'black'
set boxwidth 0.75 relative # absolute
plot "data.txt" using 1:2:4:3:5:($5 < $2 ? 1 : 2) linecolor variable with candlesticks, "data.txt" using 1:6 with lines lt 3
谢谢 !