new behavior of Plot
- To: mathgroup at smc.vnet.net
- Subject: [mg78523] new behavior of Plot
- From: Selwyn Hollis <sh2.7183 at earthlink.net>
- Date: Tue, 3 Jul 2007 05:40:34 -0400 (EDT)
- References: <f65aq2$9jg$1@smc.vnet.net> <200707011145.HAA15125@smc.vnet.net> <200707021054.GAA18072@smc.vnet.net>
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
- References:
- Re: Graphics package in v6
- From: Helen Read <hpr@together.net>
- RE: Re: Graphics package in v6
- From: "Jaccard Florian" <Florian.Jaccard@he-arc.ch>
- Re: Graphics package in v6