Changeset 24555


Ignore:
Timestamp:
02/07/20 10:42:21 (5 years ago)
Author:
Mathieu Morlighem
Message:

NEW: deal with edge data

File:
1 edited

Legend:

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

    r21737 r24555  
    7676                end
    7777
     78        %edge data
     79        case 6
     80                A=elements(:,1); B=elements(:,2); C=elements(:,3);
     81                patch('Faces', [A B C],'Vertices', [x y z],'FaceVertexCData', data(:),'FaceColor','interp','EdgeColor',edgecolor);
    7882        otherwise,
    7983                error(['case ' num2str(datatype) ' not supported']);
Note: See TracChangeset for help on using the changeset viewer.