diff options
author | Matt Argao <mcargao@email.wm.edu> | 2012-11-08 17:10:32 -0500 |
---|---|---|
committer | Matt Argao <mcargao@email.wm.edu> | 2012-11-08 17:10:32 -0500 |
commit | decb80b8f6045d68357120e4730bf279c99b9272 (patch) | |
tree | 6f7aa313149dba15cf19cbbf5fa3c395c6f24fc7 /fitter_check.m | |
parent | 9d74955612c8b1689cc481aa3f741f186460b221 (diff) | |
download | mode_match-decb80b8f6045d68357120e4730bf279c99b9272.tar.gz mode_match-decb80b8f6045d68357120e4730bf279c99b9272.zip |
Formatted title with lens pos & focal lengths added
Diffstat (limited to 'fitter_check.m')
-rw-r--r-- | fitter_check.m | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fitter_check.m b/fitter_check.m index 20a7e9d..51e1480 100644 --- a/fitter_check.m +++ b/fitter_check.m @@ -30,7 +30,12 @@ xf=Ltot; for n_graph = 1:n_possible_lens_placement figure(n_graph) w_final_trial = solution_visualization(q0,x0, qf, xf, optics_placer(possible_lens_placement(index(n_graph),:), possible_lens_set(index(n_graph),:)), lambda); - title('Other Solutions'); + + 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)); + tstr='Other Solutions'; + title([tstr, str1, str2, str3]); end possible_lens_placement(index(1:n_graph),:) |