RE: Output differents between Show and Plot
- To: mathgroup at smc.vnet.net
- Subject: [mg36246] RE: [mg36237] Output differents between Show and Plot
- From: "David Park" <djmp at earthlink.net>
- Date: Wed, 28 Aug 2002 04:16:06 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Bob, In my Version 4.1 I see no difference in the commands. Table[ Plot[ Sin[n x], {x, 0, Pi}], {n, 1, 5}] and Table[ Show[Graphics[Line[{{0, 0}, {5, n}}]], PlotRange -> {{0, 6}, {0, 6}}], {n, 1, 5}] They both have the graphics output cells grouped in the middle and separate from the Input cell. David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ From: Bob [mailto:rdobrow at carleton.edu] To: mathgroup at smc.vnet.net Why is it that when I type, say, Table[ Plot[ Sin[n x],{x,0,Pi}], {n, 1,5}] my output is marked in the righthand column with 3 cell ``markers," with the middle marker encompassing the output (and *only* the output). However, when I try something like Table[Show[Graphics[ etc., etc]], {n, 1,5}] the middle cell marker on the righthand side of the notebook also includes the input command? The reason that this is important for me is that I am doing an animation; and after the animation I would like to delete all the graphic images; but when I use Show[Graphics[ this would mean deleting the input command as well. Could someone explain this to me and also make a suggestion so how I could use Show[Graphics[ ] and have the middle cell marker *only* encompass the output.