Changeset 16349


Ignore:
Timestamp:
10/09/13 11:27:00 (11 years ago)
Author:
Mathieu Morlighem
Message:

CHG: fixed undefined map

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/plot/plot_contour.m

    r16319 r16349  
    228228                        dist = 5000;
    229229                        if (max(xc)-min(xc)+max(yc)-min(yc))<dist, continue; end
    230                         h=patch('Xdata',[xc;NaN],'Ydata',[yc;NaN],'facecolor','none','edgecolor',map(i,:),'linewidth',linewidth);
     230                        h=patch('Xdata',[xc;NaN],'Ydata',[yc;NaN],'facecolor','none','edgecolor',color,'linewidth',linewidth);
    231231                        c = horzcat([level, xc'; length(xc), yc']);
    232                         clabel(c,h,'FontSize',10,'labelspacing',20000,'color',map(i,:));
     232                        clabel(c,h,'FontSize',10,'labelspacing',20000,'color',color);
    233233                        hold on
    234234                end
Note: See TracChangeset for help on using the changeset viewer.