plot "data_${atom}10_v${basis}_cas1010_truncated" u 1:2 w l lw 3 title "CAS", $CAS w l lw 3 title "2*${atom} CAS", "" u 1:(\$2+\$3) w l lw 3 title "CAS+LDA", $CAS_LDA w l lw 3 title "2*(CAS ${atom} + LDA)", 'exact-${atom}10' u (\$1 * 0.529177):2 w l lw 3 smooth csplines title "Exact spline"
plot "data_${atom}10_v${basis}_cas1010_truncated" u 1:2 w l lw 3 title "CAS", $CAS w l lw 3 title "2*${atom} CAS", "" u 1:(\$2+\$4) w l lw 3 title "CAS+PBE", $CAS_PBE w l lw 3 title "2*(CAS ${atom} + PBE)", 'exact-${atom}10' u (\$1 * 0.529177):2 w l lw 3 smooth csplines title "Exact spline"
plot "data_${atom}10_v${basis}_cas1010_truncated" u 1:2 w l lw 3 title "CAS", $CAS w l lw 3 title "2*${atom} CAS", "" u 1:(\$2+\$5) w l lw 3 title "CAS+PBE on top", $CAS_PBEot w l lw 3 title "2*(CAS ${atom} + PBE on top)", 'exact-${atom}10' u (\$1 * 0.529177):2 w l lw 3 smooth csplines title "Exact spline"
plot "data_${atom}10_v${basis}_cas1010_truncated" u 1:2 w l lw 3 title "CAS", $CAS w l lw 3 title "2*${atom} CAS", "" u 1:(\$2+\$6) w l lw 3 title "CAS+PBE on top", $CAS_PBEotden w l lw 3 title "2*(CAS ${atom} + PBE on top)", 'exact-${atom}10' u (\$1 * 0.529177):2 w l lw 3 smooth csplines title "Exact spline"
plot "data_${atom}10_v${basis}_cas1010_truncated" u 1:(\$2 - $CAS) w l lw 3 title "CAS $basis", "" u 1:(\$2+\$6 -$CAS_PBEotden) w l lw 3 title "CAS $basis +PBE on top / density" , 'exact-${atom}10' u (\$1 * 0.529177):(\$2 - $exact) w l lw 3 smooth csplines title "Exact spline", 'exact-${atom}10' u (\$1 * 0.529177):(\$2 - $exact) w p ps 0.5 notitle