#!/usr/local/bin/gnuplot -persist # set terminal svg size 600,400 dynamic enhanced font 'arial,10' mousing name "candlesticks_4" butt dashlength 1.0 # 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 x2range [ * : * ] noreverse writeback set yrange [ 0.00000 : 10.0000 ] noreverse nowriteback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault NO_ANIMATION = 1 ## Last datafile plotted: "candlesticks.dat" 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"