|
set_cline_visibility.m.html |
|
|
Source file: set_cline_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_cline_visibility(p)
% Internal matlab routine for Clawpack graphics.
if (~ishandle(p))
return;
end;
p_status = get(p,'Visible');
udata = get(p,'UserData');
clines = udata.contourLines;
% Not every patch will have contourlines, even if ContourValues is
% specified, and patch is visible.
if (~isempty(clines))
cline_state = strcmp(get(clines,'Tag'),'on');
toggle_visibility(p,cline_state,clines);
end;