summaryrefslogtreecommitdiff
path: root/pick_visualization.m
diff options
context:
space:
mode:
authorMatt Argao <mcargao@email.wm.edu>2013-02-20 14:15:44 -0500
committerMatt Argao <mcargao@email.wm.edu>2013-02-20 14:15:44 -0500
commit12948ff5436c6c385d239572f5eb20ed19f93392 (patch)
treeb958bf4ecc977050f18fe8da5bd62084168cd9cb /pick_visualization.m
parentfebb98c32e259ca4f4e574faef4b157c8d1f2830 (diff)
downloadmode_match-12948ff5436c6c385d239572f5eb20ed19f93392.tar.gz
mode_match-12948ff5436c6c385d239572f5eb20ed19f93392.zip
Displays lenses in beam propogation graph.
Diffstat (limited to 'pick_visualization.m')
-rw-r--r--pick_visualization.m6
1 files changed, 3 insertions, 3 deletions
diff --git a/pick_visualization.m b/pick_visualization.m
index 602e509..58140c1 100644
--- a/pick_visualization.m
+++ b/pick_visualization.m
@@ -8,9 +8,9 @@ for n_graph = 1:n_possible_lens_placement
figure(n_graph)
[w_final_trial, r_final_trial] = solution_visualization(q0, x0, qf, Ltot, optics_placer(possible_lens_placement(index(n_graph),:), possible_lens_set(index(n_graph),:)), lambda);
- str1=sprintf('\n f_1 = %0.4f, x_1 = %0.4f\n',possible_lens_set(index(n_graph),1),possible_lens_placement(index(n_graph),1));
- str2=sprintf('f_2 = %0.4f, x_2 = %0.4f\n',possible_lens_set(index(n_graph),2),possible_lens_placement(index(n_graph),2));
- str3=sprintf('f_3 = %0.4f, x_3 = %0.4f\n',possible_lens_set(index(n_graph),3),possible_lens_placement(index(n_graph),3));
+ str1=sprintf('\n (red) f_1 = %0.4f, x_1 = %0.4f\n',possible_lens_set(index(n_graph),1),possible_lens_placement(index(n_graph),1));
+ str2=sprintf(' (green) f_2 = %0.4f, x_2 = %0.4f\n',possible_lens_set(index(n_graph),2),possible_lens_placement(index(n_graph),2));
+ str3=sprintf(' (blue) f_3 = %0.4f, x_3 = %0.4f\n',possible_lens_set(index(n_graph),3),possible_lens_placement(index(n_graph),3));
tstr='Solution #';
str_w = ['w_{final}= ',num2str(w_final_trial)];
str_r = [', r_{final}= ',num2str(r_final_trial)];