Azzera filtri
Azzera filtri

Setting starting position of sphere.

1 visualizzazione (ultimi 30 giorni)
ZK
ZK il 20 Mar 2014
Commentato: ZK il 20 Mar 2014
Hi, How can I set a default rotation position of:
[Xs Ys Zs]=sphere(80);

Risposta accettata

Mischa Kim
Mischa Kim il 20 Mar 2014
Modificato: Mischa Kim il 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 Commenti
ZK
ZK il 20 Mar 2014
Exactly, thank You.
ZK
ZK il 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.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by