From 6f5c4078d2e31c0705e564e844a3e526a30a2121 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Wed, 17 Oct 2012 21:19:12 -0400 Subject: plotting of the normal for a front face fixed --- coupling_angles.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coupling_angles.m b/coupling_angles.m index c7f2cb9..d425677 100644 --- a/coupling_angles.m +++ b/coupling_angles.m @@ -96,8 +96,8 @@ x_norm_out=linspace(x_cross_1,1); y_norm_out=y_cross_1+(x_norm_out-x_cross_1)*tan(theta_norm_rlh); % coordinates of normal inside the prism -y_norm_in=linspace(y_cross_1,0); -x_norm_in=x_cross_1+(y_norm_in-y_cross_1)*tan(theta_norm_rlh+pi); +x_norm_in=linspace(x_cross_1,0); +y_norm_in=y_cross_1+(x_norm_in-x_cross_1)*tan(theta_norm_rlh); plot(x_norm_out, y_norm_out, 'b-', x_norm_in, y_norm_in, 'b-'); %% arc to show theta_air -- cgit v1.2.3