# set terminal pngcairo  transparent enhanced font "arial,10" fontscale 1.0 size 500, 350 
# set output 'stats.1.png'
set key inside left top vertical Left noreverse enhanced autotitles nobox
set label 1 "min" at 7, graph 0.1, 0 centre norotate back nopoint offset character 0, -1, 0
set label 2 "max" at 9, graph 0.9, 0 centre norotate back nopoint offset character 0, 1, 0
set arrow 1 from 7, graph 0.1, 0 to 7, 2.20087, 0 head back filled linetype -1 linewidth 1.000
set arrow 2 from 9, graph 0.9, 0 to 9, 3.13972, 0 head back filled linetype -1 linewidth 1.000
set offsets 0, 0, 0.5, 0.5
set style data lines
set title "Use of stats command to find min/max/mean before plotting\nOne data column" 
A_records = 20.0
A_invalid = 0.0
A_blank = 1.0
A_blocks = 1.0
A_outofrange = 0.0
A_mean = 2.54077965
A_stddev = 0.222745079388135
A_sum = 50.815593
A_sumsq = 130.103532004915
A_min = 2.20087
A_max = 3.139718
A_median = 2.4609945
A_lo_quartile = 2.3865975
A_up_quartile = 2.6562155
A_index_min = 7.0
A_index_max = 9.0
plot 'orbital_elements.dat' index 1 using 0:2 title "  Data" lw 2,      A_mean title "  Mean"