You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to be able to plot only Ex, Ey, or Ez, rather than all three as displayed by the mode.show() method.
I looked at the plot_mode function, and I see that plotting all three is hard coded. Adding an optional parameter to the function would be an easy addition.
It would also be nice to be able to get an object returned from the .show() method, namely the fig and ax, so we can edit, and change the axis limits for example.
Here is some code that generated what I am looking for:
It would be nice to be able to plot only Ex, Ey, or Ez, rather than all three as displayed by the mode.show() method.
I looked at the plot_mode function, and I see that plotting all three is hard coded. Adding an optional parameter to the function would be an easy addition.
https://github.com/HelgeGehring/femwell/blob/main/femwell/maxwell/waveguide.py
The text was updated successfully, but these errors were encountered: