From help-octave-request at che dot utexas dot edu Mon Jun 26 08:45:37 1995 Subject: Re: help with gnuplot From: udina at upf dot es To: jwe at che dot utexas dot edu (John Eaton) Cc: help-octave at che dot utexas dot edu Date: Mon, 26 Jun 1995 10:42:49 +0200 (METDST) -- -- --The following example should sort of work, at least on an X display --and a fast machine. It doesn't actually generate a movie (like an --MPEG file), it just displays a series of plots. (I would certainly --welcome changes for generating MPEG files if someone wants to do the --work.) -- --Thanks, -- --jwe I can't give you details because I've never done it with Octave, but I do it using Gnuplot from XLisp-Stat, and the procedure must also work from Octave. This is the way I do it, it can be done other ways, of course. 1) Write a program that display the frames using gnuplot 2) For each frame, set the output file to one of a numbered series of files 3) Set terminal to postscript 4) Run the program and get the files file01.ps, file02.ps, ... 5) Use convert or some other utility to convert the ps files to ppm format or some other format supported by mpeg. This step can be done together with the next one. 6) Write a script file for mpeg_encode and run it to get the movie. mpeg_encode is a program from the people at berkeley that wrote and mantain also mpeg_player. mm-ftp.CS.Berkeley.EDU Hope this helps -- Frederic Udina _______________________________________________________________________ | voice: 34 - 3 - 542 17 56 Facultat de Ciencies Economiques | fax: 34 - 3 - 542 17 46 Universitat Pompeu Fabra | e-mail: udina at upf dot es Balmes 132 | appleLink: spa0172 08008 Barcelona | Servicom: sva00484 SPAIN | W W Web: http://libiya.upf.es/ ___________________________________/_\_________________________________