demisjohn / pyFIMM

Python Interface to PhotonDesign's FimmWave/FimmProp software.
15 stars 4 forks source link

Cavity.plot: E^2 #44

Open demisjohn opened 8 years ago

demisjohn commented 8 years ago

Add field component option for plotting field squared, eg. 'Ex2', 'Ey2' etc.etc. Probably just use string check to see if last char is '2', eg. if component.endswith('2'):...