use surf instead of mesh for covarianceEllipse3D
parent
61e95f4ace
commit
2a633b75c8
|
@ -21,7 +21,7 @@ y = data(n+1:2*n,:)+c(2);
|
||||||
z = data(2*n+1:end,:)+c(3);
|
z = data(2*n+1:end,:)+c(3);
|
||||||
|
|
||||||
% now plot the rotated ellipse
|
% now plot the rotated ellipse
|
||||||
sc = mesh(x,y,z,abs(xc));
|
sc = surf(x,y,z,abs(xc));
|
||||||
shading interp
|
shading interp
|
||||||
alpha(0.5)
|
alpha(0.5)
|
||||||
axis equal
|
axis equal
|
Loading…
Reference in New Issue