MATLAB: Setting starting position of sphere.

sphere rotate

Hi, How can I set a default rotation position of:
[Xs Ys Zs]=sphere(80);

Best Answer

ZK, do you mean setting the sphere origin? If yes, simply add the coordinates of the origin:
[x,y,z] = sphere(80);
surf(x+1,y+2,z+3);
Related Question