Filter löschen
Filter löschen

Setting starting position of sphere.

1 Ansicht (letzte 30 Tage)
ZK
ZK am 20 Mär. 2014
Kommentiert: ZK am 20 Mär. 2014
Hi, How can I set a default rotation position of:
[Xs Ys Zs]=sphere(80);

Akzeptierte Antwort

Mischa Kim
Mischa Kim am 20 Mär. 2014
Bearbeitet: Mischa Kim am 20 Mär. 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 Kommentare
ZK
ZK am 20 Mär. 2014
Exactly, thank You.
ZK
ZK am 20 Mär. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by