Graphics produced by the ISOSURFACE function differ when drawing to a subplot compared to executing the same code in a figure without subplots, as the following example shows:
[x y z]=meshgrid(-2:.2:2, -2:.2:2, -2:.2:2);v = x.*exp(-x.^2-y.^2-z.^2);figure(1)isosurface(x,y,z,v,0.3)figure(2)subplot(221)isosurface(x,y,z,v,0.3)
Best Answer