|
set_intersection_visibility.m.html |
|
|
Source file: set_intersection_visibility.m
|
|
Directory: /home/rjl/git/claworg/clawpack-4.x/matlab
|
|
Converted: Sat Aug 6 2011 at 21:53:05
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;