R = getresult("drop","T"); T = getresult("through","T"); plot(T.lambda*1e6,10*log10(T.T),10*log10(-R.T),"Wavelength (microns)","Drop and Through Port transmission (dB)","Linear Ring Resonator"); legend("through","drop");