Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2013

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

Search the Archive

what is wrong with this code?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg130302] what is wrong with this code?
  • From: dougwangsaif at gmail.com
  • Date: Tue, 2 Apr 2013 03:24:48 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net

f[x_] := If[EvenQ[IntegerPart[x]], 0.4, 0.8];
Plot[f[x], {x, 1, 101}]



  • Prev by Date: Re: Change Tooltip on Google Network Graph
  • Next by Date: Re: IntegerPart
  • Previous by thread: Re: Change Tooltip on Google Network Graph
  • Next by thread: Re: what is wrong with this code?