[Dart-dev] DART/branches Revision: 12147
dart at ucar.edu
dart at ucar.edu
Tue Nov 28 15:05:40 MST 2017
gharamti at ucar.edu
2017-11-28 15:05:37 -0700 (Tue, 28 Nov 2017)
218
Better logging of results to an output file. Improved handling of statistics calculations and labeling.
Can reset statistics during the middle of the run. A log entry is generated every time a parameter is changed.
Modified: DART/branches/rma_trunk/documentation/DART_LAB/matlab/oned_model.m
===================================================================
--- DART/branches/rma_trunk/documentation/DART_LAB/matlab/oned_model.m 2017-11-22 18:55:33 UTC (rev 12146)
+++ DART/branches/rma_trunk/documentation/DART_LAB/matlab/oned_model.m 2017-11-28 22:05:37 UTC (rev 12147)
@@ -90,7 +90,7 @@
'FontName' , atts.fontname, ...
'FontUnits' , 'Normalized', ...
'FontSize' , scaled_fontsize, ...
- 'FontWeight' , 'normal', ...
+ 'FontWeight' , 'bold', ...
'Callback' , @step_ahead);
handles.ui_button_start_auto_run = uicontrol('Style', 'pushbutton', ...
@@ -101,7 +101,7 @@
'FontName' , atts.fontname, ...
'FontUnits' , 'Normalized', ...
'FontSize' , scaled_fontsize, ...
- 'FontWeight' , 'normal', ...
+ 'FontWeight' , 'bold', ...
'Callback' , @auto_run_Callback);
%% -------------------------t---------------------------------------------------
@@ -289,7 +289,7 @@
'FontName' , atts.fontname, ...
'FontUnits' , 'Normalized', ...
'FontSize' , scaled_fontsize, ...
- 'FontWeight' , 'normal', ...
+ 'FontWeight' , 'bold', ...
'Callback' , @reset_button_Callback);
handles.ClearHistograms = uicontrol('Style', 'pushbutton', ...
@@ -300,7 +300,7 @@
'FontName' , atts.fontname, ...
'FontUnits' , 'Normalized', ...
'FontSize' , scaled_fontsize, ...
- 'FontWeight' , 'normal', ...
+ 'FontWeight' , 'bold', ...
'Callback' , @ClearHistograms_Callback);
%% -----------------------------------------------------------------------------
@@ -736,7 +736,9 @@
temp_rank(ens_rank, 2) = 1;
hold off
- bar(temp_rank,'stacked');
+ B = bar(temp_rank,'stacked');
+ B(1).FaceColor= atts.blue ; B(1).EdgeColor= 'k';
+ B(2).FaceColor= atts.yellow ; B(2).EdgeColor= 'k';
%% Plot the figure window for this update
axes(handles.axes);
@@ -890,7 +892,10 @@
temp_rank(:, 2) = 0;
temp_rank(ens_rank, 2) = 1;
hold off
- bar(temp_rank, 'stacked');
+
+ B = bar(temp_rank, 'stacked');
+ B(1).FaceColor= atts.blue ; B(1).EdgeColor= 'k';
+ B(2).FaceColor= atts.yellow ; B(2).EdgeColor= 'k';
% Update the permanent storage of the rank values
handles.post_rank(ens_rank) = handles.post_rank(ens_rank) + 1;
Modified: DART/branches/rma_trunk/documentation/DART_LAB/matlab/oned_model_inf.m
===================================================================
--- DART/branches/rma_trunk/documentation/DART_LAB/matlab/oned_model_inf.m 2017-11-22 18:55:33 UTC (rev 12146)
+++ DART/branches/rma_trunk/documentation/DART_LAB/matlab/oned_model_inf.m 2017-11-28 22:05:37 UTC (rev 12147)
@@ -46,6 +46,8 @@
help oned_model_inf
+LOG_FILE = strcat(mfilename, '.log');
+
atts = stylesheet; % get the default fonts and colors
%% -----------------------------------------------------------------------------
@@ -85,7 +87,7 @@
'FontName' , atts.fontname, ...
'FontUnits' , 'Normalized', ...
'FontSize' , scaled_fontsize, ...
- 'FontWeight' , 'normal', ...
+ 'FontWeight' , 'bold', ...
'Callback' , @step_ahead);
handles.ui_button_start_auto_run = uicontrol('Style', 'pushbutton', ...
@@ -96,7 +98,7 @@
'FontName' , atts.fontname, ...
'FontUnits' , 'Normalized', ...
'FontSize' , scaled_fontsize, ...
- 'FontWeight' , 'normal', ...
+ 'FontWeight' , 'bold', ...
'Callback' , @auto_run_Callback);
%% -------------------------t---------------------------------------------------
@@ -426,19 +428,19 @@
'FontName' , atts.fontname, ...
'FontUnits' , 'Normalized', ...
'FontSize' , scaled_fontsize, ...
- 'FontWeight' , 'normal', ...
+ 'FontWeight' , 'bold', ...
More information about the Dart-dev
mailing list