Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

RE: nestled plotting

  • To: mathgroup at smc.vnet.net
  • Subject: [mg72434] RE: [mg72353] nestled plotting
  • From: "David Park" <djmp at earthlink.net>
  • Date: Wed, 27 Dec 2006 06:35:25 -0500 (EST)

Use Evaluate.

Plot[Table[Normal[Series[Sin[x], {x, 0, i}]], {i, 5}] // Evaluate, {x, -15,
    15}]

But generally it is better to do extensive 'data processing' outside of a
plot statement and make certain it is what you want, rather than cram it all
into a plot statement.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

From: junk at apspektakel.com [mailto:junk at apspektakel.com]

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



  • Prev by Date: Re: Limit and Root Objects
  • Next by Date: Re: Help !! plot roots of an expression
  • Previous by thread: Re: nestled plotting
  • Next by thread: Re: nestled plotting