MathGroup Archive 2004

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

Search the Archive

Substitution ignored?


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


  • Prev by Date: RE: [Off Topic] Re: Re: What is zero divided by zero?
  • Next by Date: Re: freeing memory for animated graphics
  • Previous by thread: RE: [Off Topic] Re: Re: What is zero divided by zero?
  • Next by thread: Re: Substitution ignored?