Substitution ignored?
- To: mathgroup at smc.vnet.net
- Subject: [mg48738] Substitution ignored?
- From: Jos R Bergervoet <Jos.Lastname at Companyname.com>
- Date: Fri, 11 Jun 2004 23:59:08 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Dear MathGroup, Why is the following going wrong? f = x^2 Plot[{ f, f /. x->x-1 }, {x,0,2}] (* Identical functions plotted !!! *) g = f /. x->x-1 Plot[{f, g}, {x,0,2}] (* OK, different functions plotted *) -- Jos
- Follow-Ups:
- Re: Substitution ignored?
- From: Andrzej Kozlowski <akoz@mimuw.edu.pl>
- Re: Substitution ignored?