diff --git a/examples/matlab/covarianceEllipse3D.m b/examples/matlab/covarianceEllipse3D.m index 8799415a6..6d6ed9127 100644 --- a/examples/matlab/covarianceEllipse3D.m +++ b/examples/matlab/covarianceEllipse3D.m @@ -21,7 +21,7 @@ y = data(n+1:2*n,:)+c(2); z = data(2*n+1:end,:)+c(3); % now plot the rotated ellipse -sc = mesh(x,y,z,abs(xc)); +sc = surf(x,y,z,abs(xc)); shading interp alpha(0.5) axis equal \ No newline at end of file