[Meep-discuss] How to use Simulation.plot3D() in an IPython notebook?

2020-04-19 Thread David Banas
Hi all, Can someone give me example code for using the Simulation.plot3D() function in an IPython (Jupyter) notebook, for viewing a 3D simulation’s results? Thanks, -db ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu

[Meep-discuss] 2D Quiver Plots?

2020-05-27 Thread David Banas
Is it possible to plot the 2D equivalent of “quiver” plots? ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] Where do I put the in_volume() function?

2020-05-27 Thread David Banas
Re: this text from the docs for Animate2D: Multiple Animate2D objects can be initialized and passed to the run function to track different volume locations (using mp.in_volume) or field components. where do I put/use the mp.in_volume() function? ___

[Meep-discuss] Animate a plane "slice" of a 3D simulation?

2020-05-27 Thread David Banas
Is it possible to animate the field evolution in a 2D plane “slice” of a 3D simulation? ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss

[Meep-discuss] Failed attempt to animate a "slice" of a 3D simulation.

2020-05-28 Thread David Banas
I’m trying to annotate a 3D simulation, by confining my run using the “in_volume()” function: import matplotlib.pyplot as plt sim.reset_meep() f = plt.figure(dpi=100) Animate = mp.Animate2D(sim, fields=mp.Ey, f=f, realtime=False, normalize=True) plt.close()

Re: [Meep-discuss] Failed attempt to animate a "slice" of a 3D simulation.

2020-05-28 Thread David Banas
hu, May 28, 2020 at 9:09 AM David Banas <mailto:capn.fre...@gmail.com>> wrote: > I’m trying to annotate a 3D simulation, by confining my run using the > “in_volume()” function: > > import matplotlib.pyplot as plt > > sim.reset_meep() > f = plt.figure(dpi=100) > A

[Meep-discuss] 2D Heat Map of Current Distribution?

2020-05-30 Thread David Banas
How can I plot a 2D “heat map” of the longitudinal current distribution in the conductors of a 3D simulation structure, for some particular cross-sectional “slice” of that structure? -db ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu