-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
plotting Waveguide mode components #90
Comments
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:
|
Looks great, thanks! maybe something like `plot_mode(...., components="xy"), where one can just submit one letter to have one field as well as a arbitary combination? |
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: