MathGroup Archive 2007

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

Search the Archive

new behavior of Plot


Apologies if this has been mentioned here before and I missed it, but  
I just accidently discovered that Mathematica 6 has squashed one of  
the top three FAQs of all time.

This now works without using Evaluate:

      fns = Table[Cos[x - c], {c, -1, 1, .2}];
      Plot[fns, {x, -5, 5}]

So does this, but all the curves are drawn with the same color:

     Plot[Table[Cos[x - c], {c, -1, 1, .2}], {x, -5, 5}]

This is all rather mysterious, since Plot still has the attribute  
HoldAll.

Can anyone explain?

Regards,
Selwyn Hollis


  • Prev by Date: Re: Integration in a range of value
  • Next by Date: problems with Export to HTML
  • Previous by thread: RE: Re: Graphics package in v6
  • Next by thread: Re: new behavior of Plot