MathGroup Archive 1998

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

Search the Archive

Re: Is it a BUG?

Hi Igor:

Plot has the attribute HoldAll.  You can see this with:


This means that it holds all its arguments unevaluated.  You can force
the evaluation of k by:


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

  • References:
  • Prev by Date: Re: Which Communications to Use for MathLink on NT?
  • Next by Date: Interpolation ...
  • Prev by thread: Is it a BUG?
  • Next by thread: RE: Is it a BUG?