From 2f3d161985ae2e57ed966981e58eb117d3a49c71 Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Wed, 20 Mar 2013 18:43:24 -0400 Subject: title with energy is more informative --- pick_visualization.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pick_visualization.m') diff --git a/pick_visualization.m b/pick_visualization.m index 602e509..88f1989 100644 --- a/pick_visualization.m +++ b/pick_visualization.m @@ -14,7 +14,7 @@ for n_graph = 1:n_possible_lens_placement tstr='Solution #'; str_w = ['w_{final}= ',num2str(w_final_trial)]; str_r = [', r_{final}= ',num2str(r_final_trial)]; - str_E = sprintf('\nEnergy = %0.4f',fitness_energy(n_graph)); + str_E = sprintf('\nEnergy = %.4g',fitness_energy(n_graph)); title([tstr, num2str(n_graph), str_E, str1, str2, str3, str_w, str_r]); end -- cgit v1.2.3