aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2012-10-17 22:19:24 -0400
committerEugeniy Mikhailov <evgmik@gmail.com>2012-10-17 22:19:24 -0400
commitd504bfbeb411de4ef458f935702ff90c4971cc09 (patch)
tree69f5516e7ae60180f6b72f664f19cd095b2c79ce
parenta87181e657c609d67338410f7a97a6434f645935 (diff)
downloadwgmr-d504bfbeb411de4ef458f935702ff90c4971cc09.tar.gz
wgmr-d504bfbeb411de4ef458f935702ff90c4971cc09.zip
added annotation for the prism angle
-rw-r--r--coupling_angles.m12
1 files changed, 12 insertions, 0 deletions
diff --git a/coupling_angles.m b/coupling_angles.m
index 11929b6..22d83c9 100644
--- a/coupling_angles.m
+++ b/coupling_angles.m
@@ -138,7 +138,19 @@ str=sprintf('theta_{p2}=%.1f',theta_prism_in_degrees_2);
str=strcat('\',str,'^{o}');
text(x_arc_prism_2(1)+.05,y_arc_prism_2(1), str);
+%% arc to show prism angle
+R_arc=.1;
+phi_arc=linspace(pi, pi-prism_angle);
+x_arc=1+R_arc*cos(phi_arc);
+y_arc=0+R_arc*sin(phi_arc);
+plot(x_arc, y_arc, 'b-');
+%% annotate prism angle
+str=sprintf('theta_{prism}=%.1f',prism_angle_in_degrees);
+str=strcat('\',str,'^{o}');
+text(.65, 0.06, str);
+
+%% General annotation
str=sprintf('n_{disk}=%.3f',n_disk);
text(-0.9,1.1, str);