[Dart-dev] DART/branches Revision: 13108
dart at ucar.edu
dart at ucar.edu
Mon Apr 15 07:20:12 MDT 2019
thoar at ucar.edu
2019-04-15 07:20:12 -0600 (Mon, 15 Apr 2019)
65
Last commit to ensure marker and line consistency across plots.
Modified: DART/branches/qc8diags/diagnostics/matlab/plot_evolution.m
===================================================================
--- DART/branches/qc8diags/diagnostics/matlab/plot_evolution.m 2019-04-12 20:53:51 UTC (rev 13107)
+++ DART/branches/qc8diags/diagnostics/matlab/plot_evolution.m 2019-04-15 13:20:12 UTC (rev 13108)
@@ -630,11 +630,11 @@
end
h = line(plotdat.bincenters,data);
-set(h, 'LineStyle', linestyle, ...
- 'LineWidth', linewidth, ...
- 'Color', color, ...
- 'Marker', marker, ...
- 'MarkerFaceColor', color, ...
+set(h, 'LineStyle', linestyle, ...
+ 'LineWidth', linewidth, ...
+ 'Color', color, ...
+ 'Marker', marker, ...
+ 'MarkerFaceColor', color, ...
'MarkerSize', figuredata.MarkerSize);
% <next few lines under version control, do not edit>
Modified: DART/branches/qc8diags/diagnostics/matlab/plot_profile.m
===================================================================
--- DART/branches/qc8diags/diagnostics/matlab/plot_profile.m 2019-04-12 20:53:51 UTC (rev 13107)
+++ DART/branches/qc8diags/diagnostics/matlab/plot_profile.m 2019-04-15 13:20:12 UTC (rev 13108)
@@ -671,8 +671,8 @@
data = plotdat.ges_copy( plotdat.region,:);
Nused = plotdat.ges_Nused(plotdat.region,:);
color = figuredata.ges_color;
- marker = figuredata.ges_marker;
- linestyle = figuredata.ges_linestyle;
+ marker = figuredata.marker1;
+ linestyle = figuredata.solid;
linewidth = figuredata.linewidth;
string1 = 'forecast:';
case 'posterior'
@@ -679,8 +679,8 @@
data = plotdat.anl_copy( plotdat.region,:);
Nused = plotdat.anl_Nused(plotdat.region,:);
color = figuredata.anl_color;
- marker = figuredata.anl_marker;
- linestyle = figuredata.anl_linestyle;
+ marker = figuredata.marker2;
+ linestyle = figuredata.solid;
linewidth = figuredata.linewidth;
string1 = 'analysis:';
otherwise
@@ -697,10 +697,11 @@
end
h = line(data, plotdat.levels);
-set(h, 'LineStyle', linestyle, ...
- 'LineWidth', linewidth, ...
- 'Color', color, ...
- 'Marker', marker, ...
+set(h, 'LineStyle', linestyle, ...
+ 'LineWidth', linewidth, ...
+ 'Color', color, ...
+ 'Marker', marker, ...
+ 'MarkerFaceColor', color, ...
'MarkerSize', figuredata.MarkerSize);
% <next few lines under version control, do not edit>
Modified: DART/branches/qc8diags/diagnostics/matlab/plot_rmse_xxx_evolution.m
===================================================================
--- DART/branches/qc8diags/diagnostics/matlab/plot_rmse_xxx_evolution.m 2019-04-12 20:53:51 UTC (rev 13107)
+++ DART/branches/qc8diags/diagnostics/matlab/plot_rmse_xxx_evolution.m 2019-04-15 13:20:12 UTC (rev 13108)
@@ -439,7 +439,7 @@
% since we don't have the ability to specify this level-by-level or by
% regions, we can use an 'all-or-nothing' approach.
-if ges_Neval > 0
+if sum(ges_Neval(:)) > 0
string1 = ['# of obs: o=possible; \ast=evaluated' plotdat.post_string];
else
string1 = ['# of obs: o=possible; \ast=assimilated' plotdat.post_string];
Modified: DART/branches/qc8diags/diagnostics/matlab/two_experiments_profile.m
===================================================================
--- DART/branches/qc8diags/diagnostics/matlab/two_experiments_profile.m 2019-04-12 20:53:51 UTC (rev 13107)
+++ DART/branches/qc8diags/diagnostics/matlab/two_experiments_profile.m 2019-04-15 13:20:12 UTC (rev 13108)
@@ -184,7 +184,7 @@
%% set up all the stuff that is common.
-global figuredata verbose
+global figuredata
commondata = check_compatibility(files, prpo, obsnames, copy);
figuredata = set_obsdiag_figure('tall', 'numexp', NumExp);
@@ -444,7 +444,7 @@
plotdat.nused = qcvalues.nused;
plotdat.num_evaluated = qcvalues.num_evaluated;
-if sum(plotdat.num_evaluated > 0)
+if sum(plotdat.num_evaluated(:) > 0)
plotdat.assim_eval_string = 'evaluated';
else
plotdat.assim_eval_string = 'assimilated';
More information about the Dart-dev
mailing list