Changeset 2758
- Timestamp:
- 01/04/10 16:21:32 (15 years ago)
- Location:
- issm/trunk/src/m/classes/public
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/m/classes/public/buildoverlaycolorbar.m
r2709 r2758 23 23 %cut results under 1.5, and log 24 24 %results(find(results<1.5))=1.5; 25 h=bytscl( (results))/(255+1); %1 offset on colormap25 h=bytscl(results)/(255+1); %1 offset on colormap 26 26 27 27 %saturation -
issm/trunk/src/m/classes/public/tres.m
r2701 r2758 1 function md=tres(md, string)1 function md=tres(md,varargin) 2 2 %TRES - transfer results results to corresponding model fields. 3 3 % 4 % Usage: md=tres(md, string)4 % Usage: md=tres(md,varargin) 5 5 % 6 6 % 7 7 % Example: md=tres(md,'diagnostic'); 8 % md=tres(md,'control'); 8 % md=tres(md); 9 10 %check number of arguments 11 if nargin==1, 12 string=md.analysis_type; 13 elseif nargin==2, 14 string=varagin{1}; 15 else 16 error('tres error message: bad usage'); 17 end 9 18 10 19 if strcmpi(string,'diagnostic'),
Note:
See TracChangeset
for help on using the changeset viewer.