Skip to content

Commit

Permalink
Update WaveGuide2D_Main.m
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurentNevou committed May 18, 2018
1 parent f3c50e9 commit 65d4137
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions WaveGuide2D_Main.m
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@
pcolor(x*1e6,y*1e6,A/max(abs(A(:))))
end
contour(x*1e6,y*1e6,abs(n),1,'linewidth',2,'linecolor','w')
plot([-1 1]*Dx*1e6,[0 0],'w','linewidth',2)

if RReal==1 || IImag==1
caxis([-1 1])
Expand Down Expand Up @@ -227,6 +228,7 @@
pcolor(x*1e6,y*1e6,A/max(abs(A(:))))
end
contour(x*1e6,y*1e6,abs(n),1,'linewidth',2,'linecolor','w')
plot([-1 1]*Dx*1e6,[0 0],'w','linewidth',2)

if RReal==1 || IImag==1
caxis([-1 1])
Expand Down Expand Up @@ -306,6 +308,7 @@
pcolor(x*1e6,y*1e6,A/max(abs(A(:))))
end
contour(x*1e6,y*1e6,abs(n),1,'linewidth',2,'linecolor','w')
plot([-1 1]*Dx*1e6,[0 0],'w','linewidth',2)

if RReal==1 || IImag==1
caxis([-1 1])
Expand Down Expand Up @@ -341,6 +344,7 @@
pcolor(x*1e6,y*1e6,A/max(abs(A(:))))
end
contour(x*1e6,y*1e6,abs(n),1,'linewidth',2,'linecolor','w')
plot([-1 1]*Dx*1e6,[0 0],'w','linewidth',2)

if RReal==1 || IImag==1
caxis([-1 1])
Expand Down

0 comments on commit 65d4137

Please sign in to comment.