MathGroup Archive 2007

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

Search the Archive

Re: Table[Plot[]]doesn't work as it should in v6

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84300] Re: [mg84287] Table[Plot[]]doesn't work as it should in v6
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Tue, 18 Dec 2007 02:19:41 -0500 (EST)
  • Reply-to: hanlonr at cox.net

You can use ListAnimate


ListAnimate[
 Table[Plot[i/(1 + y^2), {y, 0, 8}, 
   PlotStyle -> RGBColor[1, (i - 0.8)/i, 0], PlotRange -> {0, 8}, 
   AspectRatio -> Automatic], {i, 1, 8, 0.1}]]


Bob Hanlon

---- sean_incali <sean_incali at yahoo.com> wrote: 
> I have this code for v5. It generates list of plots(i think) which
> then can collapsed into single cell that shows the first graph which
> can be animated by double clicking on it.
> 
> Table[Plot[i/(1 + y^2), {y, 0, 8},
>   PlotStyle -> RGBColor[1, (i - 0.8)/i, 0], PlotRange -> {0, 8},
>   AspectRatio -> Automatic], {i, 1, 8, 0.1}]
> 
> In v6, the same code seems to make a graphics array surrounded by
> curly brackets and separated by commas. (what is with this?  is there
> not a way to get rid of these puctuations?)
> 
> Of course I don't need, at the moment, to have an animation. But i
> always thought it was a nice, simple application of Table that had a
> great result.
> 
> Is this a bug or does anyone have same problem when the code is run on
> their computer?
> 
> Also, if this is not a bug, but a feature, how would you get the old
> style Table of plots/ where you get the collpsable cell with all the
> graphs in a series?
> 
> Thanks for any info ion advance,
> 
> 
> sean
> 
> 



  • Prev by Date: Re: Table[Plot[]]doesn't work as it should in v6
  • Next by Date: Re: Table[Plot[]]doesn't work as it should in v6
  • Previous by thread: Re: Table[Plot[]]doesn't work as it should in v6
  • Next by thread: Re: Table[Plot[]]doesn't work as it should in v6