Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*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 1998

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

Search the Archive

RE: Is it a BUG?



Plot has the attribute HoldFirst (see the Mathematica Book Section 2.5.5
Non-Standard Evaluation).
So use:
Plot[Evaluate@k,{x, etc

Hope this helps,


**************************************** Jean-Marie THOMAS
Conseil et Audit en Inginierie de Calcul Strasbourg, France
****************************************

-----Original Message-----
From: Igor Gribanov [mailto:nuc@hotmail.com] To: mathgroup@smc.vnet.net
Subject: [mg11949] [mg11903] Is it a BUG?


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





  • Prev by Date: Re: Mathematica: Font-Style Sheet-Demo: how keep it permanent?
  • Next by Date: Re: Laplace Distribution
  • Prev by thread: Re: Is it a BUG?
  • Next by thread: incorrect results