Changeset 2700
- Timestamp:
- 12/02/09 15:36:16 (15 years ago)
- Location:
- issm/trunk/src/m/classes/public/plot
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/plot/plot_overlay.m
r2692 r2700 102 102 imagesc(md.sarxm,md.sarym,image_rgb);set(gca,'YDir','normal'); 103 103 104 %last step: mesh overlay? 105 if exist(options,'edgecolor') 106 A=elements(:,1); B=elements(:,2); C=elements(:,3); 107 patch( 'Faces', [A B C], 'Vertices', [x y z],'FaceVertexCData', [1 1 1],'FaceColor','none','EdgeColor',getfieldvalue(options,'edgecolor')); 108 end 109 104 110 %Apply options, without colorbar and without grid 105 111 iscolorbar=getfieldvalue(options,'colorbar',1); -
issm/trunk/src/m/classes/public/plot/processdata.m
r2477 r2700 17 17 end 18 18 datasize=size(data); 19 20 %convert to double if necessary 21 if ~isnumeric(data); 22 disp('processdata info message: data is not numeric (logical?). Converted to double'); 23 data=double(data); 24 end 19 25 20 26 %check length
Note:
See TracChangeset
for help on using the changeset viewer.