set_intersection_visibility.m.html CLAWPACK  
 Source file:   set_intersection_visibility.m
 Directory:   /home/rjl/git/rjleveque/clawpack-4.x/matlab
 Converted:   Sun May 15 2011 at 19:15:58   using clawcode2html
 This documentation file will not reflect any later changes in the source file.

 
function set_intersection_visibility(p);

% Internal matlab routine for Clawpack graphics.

if (~ishandle(p))
  return;
end;

udata = get(p,'UserData');
names = {'xyIntersect','xzIntersect','yzIntersect'};
for i = 1:3,
  f = getfield(udata,names{i});
  if (~isempty(f))
    line_state = strcmp(get([f.sharedPatch],'Visible'),'on');
    lines = [f.line];
    toggle_visibility(p,line_state,lines);
  end;
end;