필터 지우기
필터 지우기

Setting starting position of sphere.

조회 수: 1 (최근 30일)
ZK
ZK 2014년 3월 20일
댓글: ZK 2014년 3월 20일
Hi, How can I set a default rotation position of:
[Xs Ys Zs]=sphere(80);

채택된 답변

Mischa Kim
Mischa Kim 2014년 3월 20일
편집: Mischa Kim 2014년 3월 20일
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
ZK
ZK 2014년 3월 20일
Exactly, thank You.
ZK
ZK 2014년 3월 20일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Surface and Mesh Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by