Changeset 14385
- Timestamp:
- 02/25/13 18:42:16 (12 years ago)
- Location:
- issm/trunk-jpl/src/m/plot/colormaps
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/plot/colormaps/getcolormap.m
r14028 r14385 23 23 map = jet(256); 24 24 map = map(128:end,:); 25 elseif strcmpi(map,'damage'), 26 v=ver; 27 if any(strcmp('Image Processing Toolbox',{v.Name})), 28 map = color_scale(256,0,70,'ccw'); 29 map = flipud(map); 30 map(1:2,:)=[0.7476 1.0000 1.0000; 0.7476 1.0000 1.0000]; 31 else 32 error('damage colormap requires Image Processing Toolbox, please try another colormap'); 33 end 25 34 elseif strcmpi(map,'redblue'), 26 35 map = hsv(256);
Note:
See TracChangeset
for help on using the changeset viewer.