set_intersection_visibility.m.html CLAWPACK  
 Source file:   set_intersection_visibility.m
 Directory:   /Users/rjl/git/rjleveque/clawpack-4.6.3/matlab
 Converted:   Mon Jan 21 2013 at 20:16:03   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;