NanoComp / meep

free finite-difference time-domain (FDTD) software for electromagnetic simulations
GNU General Public License v2.0
1.16k stars 596 forks source link

Update figure in tutorial of reflectance spectrum to show Brewster's angle #2731

Closed oskooi closed 7 months ago

oskooi commented 7 months ago

Related to #2730.

The angular range of the reflectance plot is extended from from 40° to 80°. With this change, the Brewster's angle of 74.1° (for which the reflectance is zero) is now visible in the plot. Also, I reversed the colormap used in the pcolormesh plots from hot to hot_r in order that a reflectance of 1.0 appears dark and 0 white.

cc @theogdoctorg