# set terminal svg size 600,400 dynamic enhanced fname 'arial' fsize 10 mousing name "candlesticks_4" butt solid # set output 'candlesticks.4.svg' set boxwidth 0.2 absolute set title "candlesticks showing both states of open/close" set xrange [ 0.00000 : 11.0000 ] noreverse nowriteback set yrange [ 0.00000 : 10.0000 ] noreverse nowriteback x = 0.0 plot 'candlesticks.dat' using 1:(int($0)%3?$3:$5):2:6:(int($0)%3?$5:$3) with candlesticks title "open < close", NaN with boxes lt 1 fs solid 1 title "close < open"