Changeset 2758


Ignore:
Timestamp:
01/04/10 16:21:32 (15 years ago)
Author:
Mathieu Morlighem
Message:

Added some routines to process quiver plots

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  
    2323%cut results under 1.5, and log
    2424%results(find(results<1.5))=1.5;
    25 h=bytscl((results))/(255+1); %1 offset on colormap
     25h=bytscl(results)/(255+1); %1 offset on colormap
    2626
    2727%saturation
  • issm/trunk/src/m/classes/public/tres.m

    r2701 r2758  
    1 function md=tres(md,string)
     1function md=tres(md,varargin)
    22%TRES - transfer results results to corresponding model fields.
    33%
    4 %    Usage: md=tres(md,string)
     4%    Usage: md=tres(md,varargin)
    55%
    66%
    77%    Example: md=tres(md,'diagnostic');
    8 %             md=tres(md,'control');
     8%             md=tres(md);
     9
     10%check number of arguments
     11if nargin==1,
     12        string=md.analysis_type;
     13elseif nargin==2,
     14        string=varagin{1};
     15else
     16        error('tres error message: bad usage');
     17end
    918
    1019if strcmpi(string,'diagnostic'),
Note: See TracChangeset for help on using the changeset viewer.