MATLAB: Drawing a sphere inside a sphere

plot

Is it possible to draw a sphere inside a sphere? I tried the following, but this covers the small sphere, despite the "mesh" instead of "surf":
[x,y,z] = sphere();
r = 5;
mesh( r*x, r*y, r*z );
hold on
r = 2;
mesh( r*x, r*y, r*z );
hold off

Best Answer

You can add
alpha(0.5)
after you plot the first one.