Re: What's happening with Show[] in Mathematica 6?
- To: mathgroup at smc.vnet.net
- Subject: [mg79020] Re: [mg79005] What's happening with Show[] in Mathematica 6?
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Mon, 16 Jul 2007 02:11:55 -0400 (EDT)
- Organization: Mathematics & Statistics, Univ. of Mass./Amherst
- References: <200707150512.BAA08740@smc.vnet.net>
- Reply-to: murray at math.umass.edu
From the reference page on Do, under "More Information": Unless an explicit Return is used, the value returned by Do is Null. Use this: Do[Print@Plot[Sin[x i],{x,-3,3}],{i,1,10}] (Of course you have to change your "Sun" to "Sin" in any case.) krassi at veltrade.net wrote: > I tryed to run older notebooks in Mathematica 6 and I have this > problem: when I have the Show[] function in somewhere, it doesn't plot > anything! > Fro example, run this: > Do[Plot[Sun[x i],{x,-3,3}],{i,1,10}] > > It doesn't output anything! > What's the problem? > > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305
- References:
- What's happening with Show[] in Mathematica 6?
- From: krassi@veltrade.net
- What's happening with Show[] in Mathematica 6?