Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4155

Re: Do command

From "Scot T. Martin" <smartin@seas.harvard.edu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Do command
Date 2011-08-03 11:13 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j1bah2$an1$1@smc.vnet.net> (permalink)
References <201108021111.HAA29319@smc.vnet.net>

Show all headers | View raw


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@deletegooglemail.com]
Sent: Tuesday, August 02, 2011 07:12
Subject: 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.



Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Do command "Scot T. Martin" <smartin@seas.harvard.edu> - 2011-08-03 11:13 +0000

csiph-web