# Graph of global temp. anomalies acc. to Cowtan and Way set encoding iso_8859_2 set term pngcairo font "Arial-Medium, 14" size 1024, 768 set grid set out 'CaW.png' stats [1850:1900] 'had4_krig_annual_v2_0_0.txt' using 1:2 nooutput set xlabel \ 'roky' set title \ "Globální teplotní odchylky od průměru let 1850-1900 / K" font ", 18" set yrange [-0.4:1.4] #set xrange [i-0.5:2019.5] a=0.7 b=0.2 g(x) = (x<=2020 && x>=1974 ? a + b * ((x-2000)/10) : 1/0) set fit logfile "from1975.log" fit [1975:2019] g(x) 'had4_krig_annual_v2_0_0.txt' \ using 1 : ( $2- STATS_mean_y ) via a,b slope(b) = sprintf("%.2f",b) #set multiplot plot 'had4_krig_annual_v2_0_0.txt' using 1 :( $2- STATS_mean_y) \ with linespoints lt 7, \ g(x) lt 0 lw 4 title slope(b)." K / 10 let" #1/0 lt 1 title 'original HadCRUT4 jako křížky' #plot 'HadCRUT4-gl.dat' using 1 :( $14 - STATS_mean_y) with points notitle #unset multiplot quit