| showsurflevels.m.html |   | 
  | Source file:   showsurflevels.m | 
| Directory:    /home/rjl/git/claworg/clawpack-4.x/matlab | 
| Converted:    Sat Aug  6 2011 at 21:53:06 
  using clawcode2html | 
| This documentation file will 
not reflect any later changes in the source file. | 
 
function showsurflevels(level)
% SHOWSURFLEVELS shows isosurfaces on specified levels.
%
%       SHOWSURFLEVELS(LEVEL) shows isosurface at amr levels specified in vector
% 	  LEVEL.
%
%       SHOWSURFLEVELS, by itself,  shows isosurfaces at all amr levels.
%
%       See also HIDESURFLEVELS.
isurfaces = get_isosurfaces;
for n = 1:length(isurfaces),
  isurfs = isurfaces{n};
  if (nargin == 0)
    level = 1:length(isurfs);
  end;
  for l = 1:length(level),
    isurf_vec = isurfs{level(l)};
    for k = 1:length(isurf_vec),
      is = isurf_vec(k);
      set(is,'Tag','on');
      set_isosurface_visibility(is,'on');
    end;
  end;
end;