setPlotGridEdges.m.html | ![]() |
Source file: setPlotGridEdges.m | |
Directory: /home/rjl/git/rjleveque/clawpack-4.x/matlab | |
Converted: Sun May 15 2011 at 19:15:59 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;