Setting starting position of sphere.
2 views (last 30 days)
Show older comments
Hi, How can I set a default rotation position of:
[Xs Ys Zs]=sphere(80);
0 Comments
Accepted Answer
Mischa Kim
on 20 Mar 2014
Edited: Mischa Kim
on 20 Mar 2014
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);
More Answers (0)
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!