That worked; thanks!
-db
> On May 28, 2020, at 9:15 AM, Alec Hammond wrote:
>
> Try this:
>
> Animate = mp.Animate2D(sim, fields=mp.Ey, f=f, realtime=False,
> normalize=True, output_plane=mp.Volume(center=mp.Vector3(0,0,0),
> size=mp.Vector3(20, 20, 0)))
>
> On Thu, May 28, 2020 at 9:09 AM
Try this:
Animate = mp.Animate2D(sim, fields=mp.Ey, f=f, realtime=False,
normalize=True, output_plane=mp.Volume(center=mp.Vector3(0,0,0),
size=mp.Vector3(20, 20, 0)))
On Thu, May 28, 2020 at 9:09 AM David Banas wrote:
> I’m trying to annotate a 3D simulation, by confining my run using the
>
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()
3 matches
Mail list logo