The command:
>
> h5ls ez.h5

returns you (in the last coordinate) the number of output "pictures", say
n. So, after:
> h5topng -S3 eps-000000.00.h5

you apply
> h5topng -t 0:(n-1) -R -Zc dkbluered -a yarg -A eps-000000.00.h5 ez.h5

and
> convert ez.t*.png ez.gif
>

to have your movie.

Regards,
Iztok



> Dear meep users,
> I have a quick and simple question and hope you can help me.
> My code ends with the statement:
> (run-until 200
>       (at-beginning output-epsilon)
>       (to-appended "ez" (at-every 0.6 output-efield-z))
> )
>
> If I change 200 to for example 1000 the ez.h5 also becomes bigger. But
> when I am doing a conversion to png afterwards using:
>
> h5ls ez.h5
> h5topng -S3 eps-000000.00.h5
> h5topng -t 0:329 -R -Zc dkbluered -a yarg -A eps-000000.00.h5 ez.h5
> convert ez.t*.png ez.gif
>
> I always only get 329 pictures, not depending time of simulation ist 200
> or 1000...
>
> Do you have an idea, what the problem here is?
> Thanks a lot!
> Stefan
>
> _______________________________________________
> meep-discuss mailing list
> meep-discuss@ab-initio.mit.edu
> http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss
>



_______________________________________________
meep-discuss mailing list
meep-discuss@ab-initio.mit.edu
http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

Reply via email to