Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

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


  • 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?