showscal.mBack to Contents<< Prev |  Next >> 

showscal
Display scalar field(s)

Description
showscal(S) displays the scalar field(s) S. S is a structure (or a 
structure array) that can be obtained by vec2scal. 
 
showscal(S,[SMIN SMAX]) normalizes the color scale between SMIN and 
SMAX. 
showscal(S,0) normalizes the color scale using the min and max of the 
whole structure array S (by default). 
showscal(S,-1) normalizes the color scale using the min and max of each 
field S of the structure array. 
 
showscal(S, ..., OPT), with OPT an optional string, that may contain 
one or several substrings: 
  'notitle'   does not display the title (this is useful when showscal 
              is called by showvec to display the background) 
  'cont'      displays contour lines. The next parameter gives the 
              number of contours (eg, showscal(S, ..., 'cont',10); ) 
  'surf' and 'surfc'   for 3D surface plots. 
  'pause'     waits for keystroke or mousebutton between each frame: 
      Left mouse button, or right arrow, or space bar: next frame. 
      Right mouse button or left arrow: previous frame. 
      Esc: exit showscal. 
 
MOV = showscal(S,...) returns a movie, that can be re-displayed using 
MOVIE, or saved as an AVI file using MOVIE2AVI. 
 
If S is a vector field, showscal displays vec2scal(S,'norm'). 
If S is a string (or a cell array of strings), first loadvec the 
field(s) and displays vec2scal(S,'norm'). 
 
Examples: 
  showscal(vec2scal(loadset,'norm')); 
 
  m=showscal(s,-1); movie(m); 
  movie2avi(m, 'mymovie'); 
 
  rot=vec2scal(filterf(loadset,1),'rot'); 
  showscal(rot,[-1 1],'contpause',12); 
 
  showscal('b[1:5].v*');    % loads the files 'b00001.vec' etc, and 
                            % displays the norm. 
 
F. Moisy 
Revision: 1.25,  Date: 2005/10/21. 
 
See Also
vec2scal, loadvec, loadset, showvec, operf, MOVIE, IMAGE. 

 Previous: showimxNext: showvec 

Help file generated by m2html 1.06