Re: Problem with transformation rules in Plot
- To: mathgroup at smc.vnet.net
- Subject: [mg48517] Re: Problem with transformation rules in Plot
- From: Marcus Stollsteimer <marcus314 at yahoo.com>
- Date: Fri, 4 Jun 2004 04:49:34 -0400 (EDT)
- References: <c9k462$fho$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Alain Cochard wrote: > In[4]:= Plot[{f[x],g[x]}/.{a->1} , {x,0,1}] > > Plot::plnr: {f[x], g[x]} /. {a -> 1} is not a machine-size real number at x = Hi Alain, that's not a problem with the rule, it's the HoldAll attribute of Plot ("Plot evaluates its arguments in a non-standard way..."). try Plot[{f[x], g[x]} /. {a -> 1} // Evaluate, {x, 0, 1}] see docs for Evaluate[], or mma-book ch. 2.6.5 Regards, Marcus -- God knows. Or guesses. -- John Irving