From decb80b8f6045d68357120e4730bf279c99b9272 Mon Sep 17 00:00:00 2001 From: Matt Argao Date: Thu, 8 Nov 2012 17:10:32 -0500 Subject: Formatted title with lens pos & focal lengths added --- fitter_check.m | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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),:) -- cgit v1.2.3