MathGroup Archive 2003

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

Search the Archive

Re: How save animation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg41213] Re: How save animation
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 7 May 2003 05:28:22 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <b9ael4$d2j$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

on my Mathematica 4.2

lst = Table[
      DensityPlot[Sin[x*y + t], {x, 0, Pi}, {y, 0, Pi}, Mesh -> False, 
        PlotPoints -> 64], {t, 0, Pi, Pi/4}];

Export["file.gif", lst, "GIF"]

it work as it should.
You can try to import the file again 

lst1 = Import["file.gif", "GIF"];
Show /@ lst1

JPEG is for still images and not for animations.

Something must be wrong with your installation.

Can you (after the Export[]) command check if
the MathLink bianries that do the export are running
with

Links[]

you should get something like
{LinkObject["ParentLink", 1, 1], 
  LinkObject[
   
"/usr/local/mathematica/SystemFiles/Converters/Binaries/SGI/GIF.exe", 2, 
    2], LinkObject[
   
"/usr/local/mathematica/SystemFiles/Converters/Binaries/SGI/PNM.exe", 3, 
    3]}


Regards
  Jens


Yahoo wrote:
> 
> Dear friends,
> 
> Is it possible to export animation?
> I tried: Export["file.gif", {graf1,graf2,graf3},"GIF"] but the result is
> only graf1!
> Also, if I use jpeg or jpg format Mathematica doesn't work!
> 
> In my case graf1, graf2.... are DensityPlot, It is a problem?
> 
> Any idea?
> 
> Thanks in advance,
> Stefano Fricano


  • Prev by Date: Re: JLink
  • Next by Date: Re: Problem about expression
  • Previous by thread: How save animation
  • Next by thread: Re: AW: about real part