set title "Three different Approximations of the Electrostatic Potential" set xlabel "x" set ylabel "y" set zlabel "z" set pointsize 0.4 splot [x=-5:5] [-5:5] [0:8] "electrostaticdata.txt" every :::0::0 title "Monte Carlo Approximation", "electrostaticdata.txt" every :::1::1 title "Simpsons Approximation", "electrostaticdata.txt" every :::2::2 title "Improved Monte Carlo Approximation"