[Dart-dev] [5793] DART/branches/development/DART_LAB/matlab/oned_model.m: Better run-time description of the bin edges etc.

nancy at ucar.edu nancy at ucar.edu
Tue Jul 17 14:44:49 MDT 2012


Revision: 5793
Author:   thoar
Date:     2012-07-17 14:44:49 -0600 (Tue, 17 Jul 2012)
Log Message:
-----------
Better run-time description of the bin edges etc.

Modified Paths:
--------------
    DART/branches/development/DART_LAB/matlab/oned_model.m

-------------- next part --------------
Modified: DART/branches/development/DART_LAB/matlab/oned_model.m
===================================================================
--- DART/branches/development/DART_LAB/matlab/oned_model.m	2012-07-17 20:39:27 UTC (rev 5792)
+++ DART/branches/development/DART_LAB/matlab/oned_model.m	2012-07-17 20:44:49 UTC (rev 5793)
@@ -632,6 +632,7 @@
 
    % Put on a legend
    legend('Error', 'Spread', 'Location', 'SouthWest');
+   legend boxoff
 
    % Want the lower y limit to stay 0 for error spread
    set(gca, 'YLimMode', 'Auto');
@@ -655,8 +656,9 @@
    % Update the rank data
    subplot(handles.r4);
    ens_rank = get_ens_rank(ens_new, 0);
-sort(ens_new)
-ens_rank
+   fprintf([sprintf('\ntimestep %d bin edges are ',handles.time_step), ...
+            num2str(sort([-Inf ens_new Inf]),'%10.4f'),'\n'])
+   fprintf('timestep %d bin/"rank" is %d\n',handles.time_step, ens_rank)
 
    % Plot the latest rank entry as a different color
    temp_rank(:, 1) = handles.prior_rank(1:handles.ens_size + 1);


More information about the Dart-dev mailing list