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: [mg105944] Re: [mg105927] Manipulate Plot command - blank plot
  • From: George Woodrow III <georgevw3 at mac.com>
  • Date: Sun, 27 Dec 2009 02:25:42 -0500 (EST)
  • References: <200912270007.TAA12186@smc.vnet.net>

You need to put a space (indicating multiplication) between the n and the x in your example. As written, Mathematica thinks that you mean a variable nx, not n times x, and so it does not know what to do.

if you don't like the implied multiplication, you can use '*'.

george


On Dec 26, 2009, at 7:07 PM, Dean 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: Manipulate Plot command - blank plot
  • Next by Date: Re: problem with EvenQ
  • Previous by thread: Re: Manipulate Plot command - blank plot
  • Next by thread: Re: Manipulate Plot command - blank plot