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 <nikolao...@outlook.com>
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

Reply via email to