How do I plot an object with a spatial definition?

How do I plot an object with a spatial definition?#

Date

Category

2023-12-18 22:43:01

Data Visualization and Postprocessing

If you have an object which includes spatial definition such as tidy3d.Simulation or tidy3d.Structure, using obj.plot(x=0) will plot the object on the x=0 plane. Note that y and z are alternatively accepted to specify other planar axes. Include the ax argument to plot to an existing axis, ie. obj.plot(y=0, ax=ax).