#set terminal postscript eps color #set output "legendre.eps" plot [-1:1] 1,x,1.0/2*(3*x**2-1),1.0/2*(5*x**3-3*x),1.0/8*(35*x**4-30*x**2+3),1.0/8*(63*x**5-70*x**3+15*x)