Question: Animation in HeatMap

Hi,

I tried a Animation with 10 randoms HeatMaps:

restart:

with(Statistics): with(LinearAlgebra); randomize(): with(plots):

f:= rand( 1..2 ):

for n to 10 do :
RM := Matrix(10, 10, proc (i, j) options operator, arrow; (-1)^f() end proc);
G[n] := HeatMap(RM, axis = [gridlines = [10, color = blue], thickness = 2]) ;
end do
display(seq(G[n], n = 1 .. 10), insequence = true);


But this is nor work as well. How do i this?

Regards.
 

Please Wait...