Thank you for the reply. So currently plot2D and animate2D don’t support this. I will use get_array() instead when I need to play with combinations of fields then.
One more question I have is if mp.output_efield_x() can be used for a certain volume or it always includes the entire simulation region. Best wishes Nikolaos p.s the colormap error might have been due to a problem with a sub process call instead of with h5utils itself. From: Alec Hammond<mailto:alec.m.hamm...@gmail.com> Sent: 29 December 2020 18:14 To: Nikolaos Matthaiakakis<mailto:nikolao...@outlook.com>; meep-discuss@ab-initio.mit.edu<mailto:meep-discuss@ab-initio.mit.edu> Subject: Re: Multiple field components in plot2D and animate2D Why not just plot Hz in that case? As of now, you can’t do multiple components using plot2D. You can of course do it manually using get_array(). From: meep-discuss <meep-discuss-boun...@ab-initio.mit.edu> on behalf of Nikolaos Matthaiakakis Sent: Tuesday, December 29, 2020 8:19:13 AM To: meep-discuss@ab-initio.mit.edu <meep-discuss@ab-initio.mit.edu> Subject: [Meep-discuss] Multiple field components in plot2D and animate2D Hello all, this is probably something relatively simple but I am having trouble including multiple field components in the plot2D method and animate2D class (for example including both mp.Ex and mp.Ey). Is there a simple way to set this up through the user interface? Thank you very much Best wishes Nikolaos p.s I also tried using mp.to_appeneded and mp.output_efield_ but h5utils gives the following error when trying to convert h5 files: “h5topng error: invalid colormap file” This error persists in new environments and freshly installed h5utils as well.
_______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss