Re: Is it a BUG?
- To: mathgroup@smc.vnet.net
- Subject: [mg11954] Re: [mg11903] Is it a BUG?
- From: Des Penny <penny@suu.edu>
- Date: Fri, 10 Apr 1998 01:03:43 -0400
- Organization: Southern Utah University
- References: <199804090433.AAA22057@smc.vnet.net.>
Hi Igor:
Plot has the attribute HoldAll. You can see this with:
Attributes[Plot]
This means that it holds all its arguments unevaluated. You can force
the evaluation of k by:
Plot[Evaluate[k],{x,-5,5}]
Cheers,
Des Penny
Igor Gribanov wrote:
> When I try to plot a number of functions like this:
> Plot[{x,x^2,x^4},{x,-5,5}]
>
> it works,
> but if I do it another way:
> k={x,x^2,x^4}
> Plot[k,{x,-5,5}]
>
> then it doesn't plot the graphics.
> Is it a bug or not?
>
> Sincerely,
> Igor Gribanov
> http://www.geocities.com/SouthBeach/Palms/3050
- References:
- Is it a BUG?
- From: "Igor Gribanov" <nuc@hotmail.com>
- Is it a BUG?