[Dart-dev] [6068] DART/branches/development/diagnostics/matlab/plot_evolution.m: turned off the TeX interpreter for the legend.

nancy at ucar.edu nancy at ucar.edu
Thu Apr 18 10:58:46 MDT 2013


Revision: 6068
Author:   thoar
Date:     2013-04-18 10:58:46 -0600 (Thu, 18 Apr 2013)
Log Message:
-----------
turned off the TeX interpreter for the legend. 
underscores are common in the legend strings.

Modified Paths:
--------------
    DART/branches/development/diagnostics/matlab/plot_evolution.m

-------------- next part --------------
Modified: DART/branches/development/diagnostics/matlab/plot_evolution.m
===================================================================
--- DART/branches/development/diagnostics/matlab/plot_evolution.m	2013-04-18 16:57:35 UTC (rev 6067)
+++ DART/branches/development/diagnostics/matlab/plot_evolution.m	2013-04-18 16:58:46 UTC (rev 6068)
@@ -310,7 +310,7 @@
 
    h1 = plot(tg,cg,'k+-',ta,ca,'ro-','LineWidth',plotdat.linewidth);
    h = legend('forecast', 'analysis');
-   legend(h,'boxoff')
+   legend(h,'boxoff','Interpreter','none')
 
    axlims = axis;
    axlims = [axlims(1:2) plotdat.Yrange];
@@ -377,7 +377,7 @@
    set(ax2,'YTick', yticks, 'YTickLabel', newticklabels)
 
    set(get(ax2,'Ylabel'),'String','# of obs : o=poss, +=used')
-   set(get(ax1,'Ylabel'),'String',plotdat.ylabel)
+   set(get(ax1,'Ylabel'),'String',plotdat.ylabel,'Interpreter','none')
    set(ax1,'Position',get(ax2,'Position'))
    grid
 


More information about the Dart-dev mailing list