1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
| T0=getresult("outmode","expansion for "); x=T0.lambda; x=1000000000*x; y0=real(10*log10(-T0.T_forward(:,1))); plot(x,y0,"Wavelength(nm)", "Transmission(dB)","Simulated response","linewidth =5" ); holdon; x=T0.lambda; x=1000000000*x; y1=real(10*log10(T0.T_forward(:,2))); plot(x,y1,"Wavelength(nm)", "Transmission(dB)","Simulated response","linewidth =3" ); y2=real(10*log10(-T0.T_forward(:,3))); plot(x,y2,"Wavelength(nm)", "Transmission(dB)","Simulated response","linewidth =3" ); y3=real(10*log10(-T0.T_forward(:,4))); plot(x,y3,"Wavelength(nm)", "Transmission(dB)","Simulated response","linewidth =3" ); y4=real(10*log10(-T0.T_forward(:,5))); plot(x,y4,"Wavelength(nm)", "Transmission(dB)","Simulated response","linewidth =3" ); y5=real(10*log10(-T0.T_forward(:,6))); plot(x,y5,"Wavelength(nm)", "Transmission(dB)","Simulated response","linewidth =3" ); y6=real(10*log10(-T0.T_forward(:,7))); plot(x,y6,"Wavelength(nm)", "Transmission(dB)","Simulated response","linewidth =3" ); y7=real(10*log10(-T0.T_forward(:,8))); plot(x,y7,"Wavelength(nm)", "Transmission(dB)","Simulated response","linewidth =3" ); y8=real(10*log10(-T0.T_forward(:,9))); plot(x,y8,"Wavelength(nm)", "Transmission(dB)","Simulated response","linewidth =3" ); y9=real(10*log10(-T0.T_forward(:,10))); plot(x,y9,"Wavelength(nm)", "Transmission(dB)","Simulated response","linewidth =3"); legend("TE0","TE1","TE2","TE3","TE4","TE5","TE6","TE7","TE8","TE9"); holdoff;
|