| Author |
Comment/Response |
cathy
|
10/29/04 10:58pm
Hi,
How can I plot the Legendre polynomials from n = 1 to 20 all onto 1 graph?
I tried
Do[Plot[LegendreP[n,x],{x,-1,1}], {n,0,20}]
but that gave me 21 seperate graphs...
I was thinking maybe
seq = ...
Plot[Evaluate[seq],{x,-1,1}]
something like that? and somehow stick a do loop inside the seq line to make it a sequence of the legendre polynomials? I have no idea how to do that though...
Thanks for any help!
URL: , |
|