Changeset 22218


Ignore:
Timestamp:
11/03/17 10:59:22 (7 years ago)
Author:
Eric.Larour
Message:

CHG: diverse

Location:
issm/branches/trunk-larour-NatGeoScience2016/src/m/plot
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • issm/branches/trunk-larour-NatGeoScience2016/src/m/plot/applyoptions.m

    r21759 r22218  
    312312if exist(options,'contourlevels'),
    313313        plot_contour(md,data,options);
     314end
     315
     316%coastlines
     317if exist(options,'coastline'),
     318        plot_coastlines(md.mesh,options);
    314319end
    315320
  • issm/branches/trunk-larour-NatGeoScience2016/src/m/plot/plot_contour.m

    r21759 r22218  
    2121if datatype==1,
    2222        %elements -> take average
    23         data=averaging(md,data,0);
     23        data=averaging(md,data,0)
    2424elseif datatype==2,
    2525        %nodes -> do nothing
     
    246246                        if isplanet,
    247247                                if (max(xc)-min(xc)+max(yc)-min(yc)+max(zc)-min(zc))<dist, continue; end
    248                                 h=[h;patch('Xdata',[xc;NaN],'Ydata',[yc;NaN],'Zdata',[zc;NaN],'facecolor','none','linewidth',linewidth)];
     248                                h=[h;patch('Xdata',[xc;NaN],'Ydata',[yc;NaN],'Zdata',[zc;NaN],'facecolor','none','edgecolor',color,'linewidth',linewidth)];
    249249                                c = horzcat([level, xc'; length(xc), yc'; length(xc), zc']);
    250250                        else
Note: See TracChangeset for help on using the changeset viewer.