get_cubes.m.html CLAWPACK  
 Source file:   get_cubes.m
 Directory:   /Users/rjl/git/rjleveque/clawpack-4.6.3/matlab
 Converted:   Mon Jan 21 2013 at 20:16:00   using clawcode2html
 This documentation file will not reflect any later changes in the source file.

 
function c = get_cubes()

% Internal matlab routine for Clawpack graphics.

ftag = get(gcf,'Tag');

if (~strcmp(ftag,'AMRClawSlicePlot'))
  error('get_cubes : Current figure does not contain slice data');
end;

amrplot = get(gcf,'UserData');

c = amrplot.cubes;