Hi Stefan, I usually crop the output h5's in space using the (in-volume ...) wrapper, then you can create the .gif's in the usual way
________________________________________ From: [email protected] [[email protected]] On Behalf Of [email protected] [[email protected]] Sent: 17 March 2011 17:00 To: [email protected] Subject: meep-discuss Digest, Vol 61, Issue 11 Send meep-discuss mailing list submissions to [email protected] To subscribe or unsubscribe via the World Wide Web, visit http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss or, via email, send a message with subject or body 'help' to [email protected] You can reach the person managing the list at [email protected] When replying, please edit your Subject line so it is more specific than "Re: Contents of meep-discuss digest..." Today's Topics: 1. how to plot just a part of the calculation space with h5topng? (Stefan) 2. Re: how to plot just a part of the calculation space with h5topng? (Steffen Michaelis de Vasconcellos) ---------------------------------------------------------------------- Message: 1 Date: Wed, 16 Mar 2011 18:00:47 +0100 From: Stefan <[email protected]> Subject: [Meep-discuss] how to plot just a part of the calculation space with h5topng? To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Dear Meep users, I use a quite big calculation space for my simulation to get a good result without any disturbances. After the calculations I am using h5topng and convert the png files to a gif. Now I would like to have a gif animation of only a small part of the calculation space, how can I tell h5topng to use only a part of the slice for the png? I am having a 2d simulation. I tried h5topng -t 0:199 -x 100:250 -m -2 -M 2 -Zc dkbluered ex.h5 to get just a part of the x direction, but that gives me really many pngs, one for each combination of t and x. Is there a way to realise what I want to do? Maybe with another software? Thanks a lot! Stefan ------------------------------ Message: 2 Date: Wed, 16 Mar 2011 18:57:10 +0100 From: Steffen Michaelis de Vasconcellos <[email protected]> Subject: Re: [Meep-discuss] how to plot just a part of the calculation space with h5topng? To: [email protected] Message-ID: <[email protected]> Content-Type: text/plain; charset=ISO-8859-1; format=flowed You can use the imagemagick convert command (which you probably use to convert your pngs to gif) with the -crop option. Steffen On 3/16/2011 6:00 PM, Stefan wrote: > Dear Meep users, > I use a quite big calculation space for my simulation to get a good > result without any disturbances. After the calculations I am using > h5topng and convert the png files to a gif. Now I would like to have a > gif animation of only a small part of the calculation space, how can I > tell h5topng to use only a part of the slice for the png? I am having a > 2d simulation. > > I tried > h5topng -t 0:199 -x 100:250 -m -2 -M 2 -Zc dkbluered ex.h5 > to get just a part of the x direction, but that gives me really many > pngs, one for each combination of t and x. Is there a way to realise > what I want to do? Maybe with another software? > Thanks a lot! > Stefan > > _______________________________________________ > meep-discuss mailing list > [email protected] > http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss -- Dr. Steffen Michaelis Laboratoire de Photonique et de Nanostructures ------------------------------ _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss End of meep-discuss Digest, Vol 61, Issue 11 ******************************************** _______________________________________________ meep-discuss mailing list [email protected] http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

