Does anyone know how I kan animate a histogram. I want to show how the
simulated chi^2 distribution builds up to the theoretical chi^2-
distribution.
I have tried this:
with(Statistics);
animate(Histogram, [ L_[1..floor(j) ] ] , j=1..1000);
where L is a list af chi^2 (numbers)
but it doesn't work.
help me
O.Rømer
The basic problem seems to be that floor(j) in animate is not handing
the vector L_ an integer. This is a common problem and can be handled
like this:
p:=j->Histogram(L_[1..floor(j)]):
plots:-animate(p, [j] , j=1..1000);
Preben Alsholm