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