gnuplot:如何设置烛台中晶须的颜色?
gnuplot: how to set color of the whisker in candlestick?
我正在绘制蜡烛图。如何将胡须的颜色设置为黑色?现在,它与盒子的其余部分相同。到目前为止,这是我的代码:
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:( < ? 1 : 2) linecolor variable with candlesticks, "data.txt" using 1:6 with lines lt 3
谢谢!
烛台图中的晶须与其他带误差线的图中的误差线具有相同的属性。例如
set bars linecolor "black" linewidth 3
我正在绘制蜡烛图。如何将胡须的颜色设置为黑色?现在,它与盒子的其余部分相同。到目前为止,这是我的代码:
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:( < ? 1 : 2) linecolor variable with candlesticks, "data.txt" using 1:6 with lines lt 3
谢谢!
烛台图中的晶须与其他带误差线的图中的误差线具有相同的属性。例如
set bars linecolor "black" linewidth 3