[x,y,z] = sphere; surf(x,y,z) hold on line([-1 1],[-1 1],[-1 1])