set xrange [:5] set key bottom set xlabel "Inter nuclear distance (a.u.) " set ylabel "Energy (Hartree)" set key font ",15" set key spacing "1,8" plot 'E_relat_dft' using 1:2 smooth cspline notitle lt 2 , "" using 1:2 w p lt 2 ps 1 title "FCI/avdz" replot 'E_relat_dft' using 1:5 smooth cspline notitle lt 8 , "" using 1:5 w p lt 8 ps 1 title "FCI+SU-PBE-OT/avdz" replot 'E_relat_exact' using 1:2 smooth cspline notitle lt 7 , "" using 1:2 w p lt 7 ps 1 title "Exact" set terminal eps enhanced linewidth 6 set output "DFT_avdzE_relat.eps" replot