[Dart-dev] [4537] DART/trunk/diagnostics/matlab/plot_rank_histogram.m: fixed pathological case introduced by last commit.

nancy at ucar.edu nancy at ucar.edu
Wed Oct 20 18:38:44 MDT 2010


Revision: 4537
Author:   thoar
Date:     2010-10-20 18:38:44 -0600 (Wed, 20 Oct 2010)
Log Message:
-----------
fixed pathological case introduced by last commit.

Modified Paths:
--------------
    DART/trunk/diagnostics/matlab/plot_rank_histogram.m

-------------- next part --------------
Modified: DART/trunk/diagnostics/matlab/plot_rank_histogram.m
===================================================================
--- DART/trunk/diagnostics/matlab/plot_rank_histogram.m	2010-10-20 21:03:14 UTC (rev 4536)
+++ DART/trunk/diagnostics/matlab/plot_rank_histogram.m	2010-10-21 00:38:44 UTC (rev 4537)
@@ -139,6 +139,7 @@
    plotdat.timespan = sprintf('%s -- %s', datestr(min(plotdat.timeedges(:,1)),21), ...
                                           datestr(max(plotdat.timeedges(:,2)),21));
 else
+   plotdat.timeindex = timeindex;
    plotdat.timespan = sprintf('%s -- %s', datestr(plotdat.timeedges(timeindex,1),21), ...
                                           datestr(plotdat.timeedges(timeindex,2),21));
 end


More information about the Dart-dev mailing list