MathGroup Archive 2002

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

Search the Archive

problem with plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33327] problem with plot
  • From: "puma" <puma at puma.com>
  • Date: Sat, 16 Mar 2002 01:40:03 -0500 (EST)
  • Organization: Ecole Centrale Paris : Grde Voie des Vignes, 92295 Chatenay-Malabry Cdx
  • Sender: owner-wri-mathgroup at wolfram.com

Please try this:
<<
f[x_]:=0 /; x < 0 || x >= 1;
f[x_]:=1 /; x >= 0 && x < 1/2;
f[x_]:=-1 /; x >= 1/2 && x < 1;
Plot[f[16 x],{x,0,1}];
Plot[f[16 x],{x,-1,1}];

Clear[f];
>>
why the curve disappear in the 2nd plot?
only x-interval is changed!
?????










  • Prev by Date: Mathlink for Excel
  • Next by Date: UNIX version vs Mac/Win/Linux version
  • Previous by thread: Re: Mathlink for Excel
  • Next by thread: Re: problem with plot