# # set terminal png notransparent color small # set terminal png color small size 300,200 # set terminal png color set terminal png small size 600,300 set output 'MSFT.png' set title "-| MSFT (MICROSOFT CP, NasdaqNM) -- 2005 11 2 |-" set label 1 "MSFT: PC:27.97 O:25.86 H:27.97 L:25.86 C:26.48 V:291038 T:1331" at graph 0.15, graph 0.95 left front set style line 1 lt 1 lw 2 set style line 2 lt 3 lw 2 set style line 3 lt 3 lw 3 set style arrow 1 head filled size screen 0.03,15 ls 1 set style arrow 2 head filled size screen 0.03,15 ls 2 set style arrow 3 head filled size screen 0.03,15 ls 3 set yrange [25.7545: 28.0755] set ytics 25.86, 0.42 , 27.97 set xrange [510:1020] set xtics (540, 570, 600, 660, 720, 780, 840, 900, 960) set grid set multiplot set lmargin 9 set rmargin 2 set format x "" set size 1,0.7 set origin 0.0, 0.3 set bmargin 0 set bmargin 0 set arrow 3 from 510,27.97 to 540,27.97 ls 3 set arrow 1 from 540,27.97 to 570,25.86 ls 1 set label 2 " on: 2005 11 2 Gap down " at graph 0.20, graph 0.90 left front plot \ 'MSFT.txt' using 5:9:10:11:12 notitle with candlesticks \ , '-' notitle with boxes 570 27.97 2 960 27.97 2 e unset label 1 unset label 2 unset arrow 1 unset arrow 3 unset title set xtics ("9:00" 540, "10:00" 600, "11:00" 660, "12:00" 720, "13:00" 780, "14:00" 840, "15:00" 900, "16:00" 960) set bmargin set format x set grid set size 1.0, 0.3 set origin 0.0, 0.0 set tmargin 0 set ytics 0, 1100 , 5206 set yrange [0:5500] set format y "%1.0f" plot 'MSFT.txt' using 5:13 notitle with impulses lt 3 unset multiplot # pause mouse