#!/usr/local/bin/gnuplot -persist # set terminal pngcairo transparent enhanced font "arial,8" fontscale 1.0 size 660, 320 # set output 'finance.6.png' set grid nopolar set grid xtics nomxtics ytics nomytics noztics nomztics nortics nomrtics \ nox2tics nomx2tics noy2tics nomy2tics nocbtics nomcbtics set grid layerdefault lt 0 linecolor 0 linewidth 0.500, lt 0 linecolor 0 linewidth 0.500 unset parametric set ytics norangelimit logscale set ytics (80.0000, 85.0000, 90.0000, 95.0000, 100.000, 105.000) set title "Overlay an indicator on a separate scale" set xrange [ 50.0000 : 253.000 ] noreverse nowriteback set x2range [ * : * ] noreverse writeback set yrange [ 75.0000 : 105.000 ] noreverse nowriteback set y2range [ * : * ] noreverse writeback set zrange [ * : * ] noreverse writeback set cbrange [ * : * ] noreverse writeback set rrange [ * : * ] noreverse writeback set logscale y 10 set lmargin 9 set rmargin 2 set colorbox vertical origin screen 0.9, 0.2 size screen 0.05, 0.6 front noinvert bdefault NO_ANIMATION = 1 ## Last datafile plotted: "finance.dat" plot 'finance.dat' using 0:2:3:4:5 notitle with financebars lt 8, 'finance.dat' using 0:9 notitle with lines lt 3, 'finance.dat' using 0:10 notitle with lines lt 1, 'finance.dat' using 0:11 notitle with lines lt 2, 'finance.dat' using 0:8 axes x1y2 notitle with lines lt 4