MathGroup Archive 2009

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

Search the Archive

Re: Manipulate Plot command - blank plot

  • To: mathgroup at smc.vnet.net
  • Subject: [mg105951] Re: [mg105927] Manipulate Plot command - blank plot
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sun, 27 Dec 2009 02:27:00 -0500 (EST)
  • Reply-to: hanlonr at cox.net

nx must be replaced by either n x (space for implied multiplication) or n*x (explicit multiplication).

Manipulate[Plot[Sin[n*x], {x, 0, 2 Pi}], {n, 1, 10}]


Bob Hanlon

---- Dean <schonfeld.dean at gmail.com> wrote: 

=============
Hi, I am very new to Mathematica. I have the following problem -
following the tutorial I type in:

Manipulate[Plot[Sin[nx], {x, 0, 2 Pi}], {n, 1, 10}]

and I get a blank plot - the axes show, so is the slider but no plot.

On the other hand (also following the tutorial):

Manipulate[Expand[(1 + x)^n], {n, 0, 100, 1}]

works as it should.

Could you please explain what is happening?

Thanks,
Dean



  • Prev by Date: Re: problem with EvenQ
  • Next by Date: Re: Replace and ReplaceAll -- simple application
  • Previous by thread: Re: Manipulate Plot command - blank plot
  • Next by thread: Re: Manipulate Plot command - blank plot