Changeset 14411
- Timestamp:
- 02/27/13 13:58:50 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/plot_gridded.m
r14195 r14411 53 53 54 54 %shading interp; 55 h=imagesc(xlim,ylim,data_grid);set(gca,'YDir','normal'); 55 if exist(options,'forcecolormap'), 56 image_rgb = ind2rgb(uint16((data_grid - data_min)*(length(map)/(data_max-data_min))),map); 57 h=imagesc(xlim,ylim,image_rgb); 58 else 59 h=imagesc(xlim,ylim,data_grid); 60 end 61 axis xy 56 62 57 63 %last step: mesh gridded?
Note:
See TracChangeset
for help on using the changeset viewer.