Changeset 14513


Ignore:
Timestamp:
04/04/13 16:32:22 (12 years ago)
Author:
cborstad
Message:

CHG: reduced number of colors to 128 in redblue colormap to reduce excessive file size

File:
1 edited

Legend:

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

    r14385 r14513  
    3333        end
    3434elseif strcmpi(map,'redblue'),
    35         map = hsv(256);
     35        map = hsv(128);
    3636        map = rgb2hsv(map);
    3737        map(:,2)       = max(min( abs(map(:,1)-0.5)/0.5 ,1),0);
    38         map(1:128,1)   = 0.7;
    39         map(129:end,1) = 1;
     38        map(1:64,1)   = 0.7;
     39        map(65:end,1) = 1;
    4040        map = hsv2rgb(map);
    4141elseif strcmpi(map,'Rignot'),
Note: See TracChangeset for help on using the changeset viewer.