Re: nestled plotting
- To: mathgroup at smc.vnet.net
- Subject: [mg72365] Re: nestled plotting
- From: "Norbert Marxer" <marxer at mec.li>
- Date: Tue, 26 Dec 2006 08:35:20 -0500 (EST)
- References: <emdors$jvh$1@smc.vnet.net>
Hello All you have to do is to insert Evaluate in front of the Table command: e.g. Plot[Evaluate@Table[Normal[Series[Sin[x], {x, 0, i}]], {i, 5}], {x, -15, 15}]; Best Regards Norbert Marxer www.mec.li junk at apspektakel.com schrieb: > Hi > I'm having this problem. I want to plot a number of maclaurin > polynomials and I want to do it like this: > Plot[Table[Normal[Series[Sin[x], {x, 0, i}]], {i, 5}], {x, -15, 15}] > This gives me a bunch of error messages. However, if I first print the > table: > Table[Normal[Series[Sin[x], {x, 0, i}]], {i, 5}] > and cut and pase this into the plot command, everything works just as I > want it. How do I get past the cut and paste step? > > /Hadoque