MathGroup Archive 2003

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

Search the Archive

Explain this (error in Plot[Evaluate[Range[3]],{x,0,1}])

  • To: mathgroup at smc.vnet.net
  • Subject: [mg41776] Explain this (error in Plot[Evaluate[Range[3]],{x,0,1}])
  • From: martin_rommel at yahoo.com (Martin)
  • Date: Thu, 5 Jun 2003 07:31:22 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

I don't get it.

It boils down to plotting multiple lines:

Plot[{1,2,3},{x,0,1}] works.

That Plot[Range[3],{x,0,1}] does not work 
I understand (non-standard evaluation in 
Plot), but what is the problem with 

Plot[Evaluate[Range[3]],{x,0,1}] ?

Why does Evaluate not do its job for Range?
It does work with Table as in

Plot[Evaluate[Table[i,{i,3}]],{x,0,1}] 

I changed the Attributes of Range to match 
Table's, that did not fix it.

Some deeper reason or just a bug?

I am using Mathematica 4.0.1, W2k


  • Prev by Date: mathematic axis legends are incorrect in Word
  • Next by Date: Laplacian and curlcurl with maxwells eqn's
  • Previous by thread: mathematic axis legends are incorrect in Word
  • Next by thread: Re: Explain this (error in Plot[Evaluate[Range[3]],{x,0,1}])