Setting starting position of sphere.

2 vues (au cours des 30 derniers jours)
ZK
ZK le 20 Mar 2014
Commenté : ZK le 20 Mar 2014
Hi, How can I set a default rotation position of:
[Xs Ys Zs]=sphere(80);

Réponse acceptée

Mischa Kim
Mischa Kim le 20 Mar 2014
Modifié(e) : Mischa Kim le 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);
  2 commentaires
ZK
ZK le 20 Mar 2014
Exactly, thank You.
ZK
ZK le 20 Mar 2014
Sorry, changed of colours was at first looking like solution. I need to set another side of sphere to startup position when figure is created.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by