[Dart-dev] DART/branches Revision: 13107
dart at ucar.edu
dart at ucar.edu
Fri Apr 12 14:53:51 MDT 2019
thoar at ucar.edu
2019-04-12 14:53:51 -0600 (Fri, 12 Apr 2019)
133
If there is no posterior, do not plot the diamond on the axis label.
Clearer separation between colors, consistent use of symbols.
Index: DART/branches/reanalysis
===================================================================
--- DART/branches/reanalysis 2019-04-12 20:51:50 UTC (rev 13106)
+++ DART/branches/reanalysis 2019-04-12 20:53:51 UTC (rev 13107)
Property changes on: DART/branches/reanalysis
___________________________________________________________________
Modified: svn:mergeinfo
## -10,7 +10,7 ##
/DART/branches/model_mod_changes:11403-11604
/DART/branches/pertirb_tool:12695-12764
/DART/branches/qc8:12643-12657
-/DART/branches/qc8diags:13002-13104
+/DART/branches/qc8diags:13002-13106
/DART/branches/recam:12028-13088
/DART/branches/rma_array_nml:11814-11839
/DART/branches/rma_cam_fv:9552-9728
Modified: DART/branches/reanalysis/diagnostics/matlab/plot_bias_xxx_profile.m
===================================================================
--- DART/branches/reanalysis/diagnostics/matlab/plot_bias_xxx_profile.m 2019-04-12 20:51:50 UTC (rev 13106)
+++ DART/branches/reanalysis/diagnostics/matlab/plot_bias_xxx_profile.m 2019-04-12 20:53:51 UTC (rev 13107)
@@ -73,7 +73,7 @@
default_obsname = 'none';
default_verbosity = true;
-default_markersize = 8;
+default_markersize = 12;
default_pause = false;
default_range = [NaN NaN];
p = inputParser;
@@ -206,8 +206,10 @@
analy = guess; % make the variable the same shape as guess
analy(:) = NaN; % and fill it with nothing
plotdat.has_analysis = false;
+ plotdat.post_string = '';
else
plotdat.has_analysis = true;
+ plotdat.post_string = '; \diamondsuit=posteriorOK';
end
% check to see if there is anything to plot
@@ -261,8 +263,13 @@
psfname = sprintf('%s_bias_%s_profile_region%d', ...
plotdat.varnames{ivar}, plotdat.copystring, iregion);
- print(gcf,'-dpdf',psfname);
+ if verLessThan('matlab','R2016a')
+ print(gcf, '-dpdf', psfname);
+ else
+ print(gcf, '-dpdf', '-bestfit', psfname);
+ end
+
% block to go slow and look at each one ...
if (p.Results.pause)
disp('Pausing, hit any key to continue ...')
@@ -416,7 +423,7 @@
'MarkerSize', figuredata.MarkerSize);
set(ax2h2, 'LineStyle', 'none', ...
- 'Color', figuredata.ges_color, ...
+ 'Color', figuredata.obs_color, ...
'Marker', figuredata.ges_marker, ...
'MarkerSize', figuredata.MarkerSize);
@@ -423,7 +430,7 @@
if anl_Ngood > 0
ax2h3 = line(anl_Nused, plotdat.levels, 'Parent',ax2);
set(ax2h3, 'LineStyle', 'none', ...
- 'Color', figuredata.anl_color, ...
+ 'Color', figuredata.obs_color, ...
'Marker', figuredata.anl_marker, ...
'MarkerSize',figuredata.MarkerSize);
end
@@ -442,11 +449,11 @@
% determine if the observation was flagged as 'evaluate' or 'assimilate'
if sum(ges_Neval) > 0
- string1 = sprintf('# of obs (o=possible; %s=evaluated) x %d', ...
- '\ast,\diamondsuit', uint32(xscale));
+ string1 = sprintf('# of obs (o=possible; %s %s) x %d', ...
+ '\ast=evaluated', plotdat.post_string, uint32(xscale));
else
- string1 = sprintf('# of obs (o=possible; %s=assimilated) x %d', ...
- '\ast,\diamondsuit', uint32(xscale));
+ string1 = sprintf('# of obs (o=possible; %s %s) x %d', ...
+ '\ast=assimilated', plotdat.post_string, uint32(xscale));
end
set(get(ax2,'Xlabel'), 'String', string1, 'FontSize', figuredata.fontsize)
Modified: DART/branches/reanalysis/diagnostics/matlab/plot_evolution.m
===================================================================
--- DART/branches/reanalysis/diagnostics/matlab/plot_evolution.m 2019-04-12 20:51:50 UTC (rev 13106)
+++ DART/branches/reanalysis/diagnostics/matlab/plot_evolution.m 2019-04-12 20:53:51 UTC (rev 13107)
@@ -83,7 +83,7 @@
default_obsname = 'none';
default_verbosity = true;
-default_markersize = 8;
+default_markersize = 12;
More information about the Dart-dev
mailing list