set terminal postscript eps color enhanced font "Helvetica,16pt" size 8.6cm,6cm dashlength 2.0 set output "trendarc.eps" # common settings set format y "%2.1f" set tics scale 2 set tics nomirror set ytics 0.1 set yr [1.525:1.875] set format x "%2g" set xtics 60 A(x)=a a=1.7 set fit errorvariables set xrange [0:90] FIT_LIMIT=1.e-15 FIT_MAXITER=1000 fit A(x) 'g2trend.txt' using 1:2:3 via a set xrange [0:360] set xlabel "Time [Minutes]" set ylabel "g^{(2)}({/Symbol t}=0)" rotate by 90 set samples 1000 plot 'g2trend.txt' using ($1*4):2:3 w yerrorbars lc 1 ps 0.8 pt 7 notitle,\ A(x) w l lw 3 lt 2 lc -1 notitle