|
add_isosurface2plot.m.html |
|
|
Source file: add_isosurface2plot.m
|
|
Directory: /home/rjl/git/rjleveque/clawpack-4.x/matlab
|
|
Converted: Sun May 15 2011 at 19:15:56
using clawcode2html
|
|
This documentation file will
not reflect any later changes in the source file.
|
function add_isosurface2plot(xc,yc,zc,q,level,...
isosurfvalues,isosurfcolors,isosurfalphas,mappedgrid)
% Internal Matlab routine used by Clawpack graphics
isurf = get_isosurfaces;
q = permute(q,[2 1 3]);
for n = 1:length(isosurfvalues),
ivalue = isosurfvalues(n);
icolor = isosurfcolors(n);
ialpha = isosurfalphas(n);
p = create_isosurface(xc,yc,zc,q,1,ivalue,icolor,ialpha,mappedgrid);
isurf{n}{level}(end+1) = p;
end;
set_isosurfaces(isurf);