Changeset 21734
- Timestamp:
- 05/21/17 16:47:38 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/branches/trunk-larour-NatClimateChange2016/src/m/plot/colormaps/bluewhitered.m
r18611 r21734 1 function newmap = bluewhitered(m )1 function newmap = bluewhitered(m,CAXIS) 2 2 %BLUEWHITERED Blue, white, and red color map. 3 3 % BLUEWHITERED(M) returns an M-by-3 matrix containing a blue to white … … 34 34 end 35 35 36 37 36 bottom = [0 0 0.5]; 38 37 botmiddle = [0 0.5 1]; … … 42 41 43 42 % Find middle 44 lims = get(gca, 'CLim'); 43 if nargin < 2 44 lims = get(gca, 'CLim'); 45 else 46 lims = CAXIS; 47 end 45 48 46 49 % Find ratio of negative to positive
Note:
See TracChangeset
for help on using the changeset viewer.