animate
Animate graphs
Syntax
animate
filename
,
graphs(_all | g1 g2 g3...)
[imagickpath(path) delay(#) noloop showcommand keepeps]
Required
graphs(_all \| g1 g2 g3...) |
graphs to be added to the movie |
Optional
imagickpath(path) |
path of ImageMagick |
delay(#) |
milliseconds between frames |
noloop |
no loop of movie |
showcommand |
display ImageMagick command |
keepeps |
keep .eps files |
Description
animate produces .eps files for each graph and adds them together to an animated-gif filename. Command requires ImageMagick to be installed on the computer.
Examples
. webuse uslifeexp
. graph drop _all
. forvalues i = 1900(10)2000 {
scatter le year if year <= `i', xscale(range(1900 2000)) name(le`i')
}
. animate lifemovie, graphs(_all)