MathGroup Archive 2011

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

Search the Archive

Re: Do command

  • To: mathgroup at smc.vnet.net
  • Subject: [mg120674] Re: Do command
  • From: "Scot T. Martin" <smartin at seas.harvard.edu>
  • Date: Wed, 3 Aug 2011 07:07:13 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <201108021111.HAA29319@smc.vnet.net>

Dale,

As I remember, in some release of Mathematica few years ago, this behavior 
changed a bit, as you discovered. You can use Print[..] to for the behavior
 you want. Also, note one other correction in below regarding Pi/10 removal
 from Plot parameters.

Do[Print[Plot[Sin[x - c], {x, 0, 4 Pi}, Ticks -> None]], {c, 0,  2 Pi - Pi/10, Pi/10}]

Scot

-----Original Message-----
From: DaleJenk [mailto:dale.jenkins8 at deletegooglemail.com]
Sent: Tuesday, August 02, 2011 07:12
To: mathgroup at smc.vnet.net
Subject: [mg120674] Do command

I'm working my way through the 1999 edition of Mathematica Navigator and using Mathematica 7 Home Edition. The following command is supposed to bring up a plot but for some reason it doesn't.

Do[Plot[Sin[x - c], {x, 0, 4 Pi, Pi/10}, Ticks -> None], {c, 0,
  2 Pi - Pi/10, Pi/10}]

Thanks for any help.







  • References:
    • Do command
      • From: "DaleJenk" <dale.jenkins8@deletegooglemail.com>
  • Prev by Date: Re: Poincare section for double pendulum
  • Next by Date: Re: Do command
  • Previous by thread: Re: Do command
  • Next by thread: Re: Do command