function isoplot(xx,yy,zz,u)

% red
redvals = [1.5:0.2:2.1];
red=[0.5 0 0];
for i=1:length(redvals)
    pH = patch(isosurface(xx,yy,zz,u,redvals(i)));
    set(pH,'facecolor',red,'edgecolor','none','facealpha',0.95);
end

% yellow
yelvals= [1:0.25:1.25];
yellow=[0.8 0.8 0];
for i=1:length(yelvals)
    pH= patch(isosurface(xx,yy,zz,u,yelvals(i)));
    set(pH,'facecolor',yellow,'edgecolor','none','facealpha',0.3)
end

% blue
bluevals= [0.5:0.2:0.7];
blue = [0 0 0.5];
for i=1:length(bluevals)
    pH= patch(isosurface(xx,yy,zz,u,bluevals(i)));
    set(pH,'facecolor',blue,'edgecolor','none','facealpha',0.05);
end

% lighting
light('pos',[-100,50,100]); 
light('pos',[50,-100,100]); 
light('pos',[-100,-100,1]); 
light('pos',[1,0,1]);
lighting phong
%set(gca,'view',[-109,9],'projection','orth')
% cameramenu on


Sable
github-repos/MATLAB/Sable-mcbench-benchmarks/mcbench-benchmarks-ba13b2f0296ef49491b95e3f984c7c41fccdb6d8/24320-algorithmic-trading-with-matlab-2009-update/isoplot.m
mcbench-benchmarks
github-repos/MATLAB/Sable-mcbench-benchmarks
ba13b2f0296ef49491b95e3f984c7c41fccdb6d8