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 on behalf of
Nikolaos Matthaiakakis
Sent: Tuesday, December 29, 2020 8:19:13 AM
To:
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
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
3 matches
Mail list logo