summaryrefslogtreecommitdiff
path: root/pick_visualization.m
diff options
context:
space:
mode:
Diffstat (limited to 'pick_visualization.m')
-rw-r--r--pick_visualization.m2
1 files changed, 1 insertions, 1 deletions
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