|
setPlotGridEdges.m.html |
|
|
Source file: setPlotGridEdges.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 plotgridedges = setPlotGridEdges(plotgridedges)
% setPlotGridEdges shows or hides patch borders.
%
% PlotGridEdges = setPlotGrid(PlotGridEdges) shows patch borders
% of level N patches if PlotGridEdges(N) == 1 and hides the patch
% borders at level N otherwise.
%
% By setting variable 'PlotGridEdges' as the return argument,
% the effects of hiding or showing the patch borders will
% carry over to the next time Frame.
%
% See also setPlotMesh, setPlotGrid, SHOWGRIDLINES, HIDEGRIDLINES.
for level = 1:length(plotgridedges)
if (plotgridedges(level) == 1)
showpatchborders(level);
else
hidepatchborders(level);
end;
end;