MathGroup Archive 2010

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

Search the Archive

Plotting a function dynamically in a loop


Hi!

 Let us consider that I have one 3D array ex[[i,j,k]] which is computed
 in time loop as given here.

 alfa=0.3; beta=0.4; gamma== 0.5;=0A For[time=0, time<= maxtime, time++,
 Do[ex[[i,j,k]] = alfa*i+beta*j+gamma*k, {i,1,imax}, {j,2,jmax+1},{k,1,kmax}]

 (* Plot ex[[]]= dynamically *)
 ]

What I want is that I like to plot ex[[i,j,k]] at every time step in a  single plot so that plot is revealed as a movie.  Is it possible in
 mathematica?

 Regs
 Abhijit Bhattacharyya


  • Prev by Date: Re: How to apply a list of functions?
  • Next by Date: Re: How to apply a list of functions
  • Previous by thread: Re: For loop outputs to a list
  • Next by thread: Re: Plotting a function dynamically in a loop