rotating a 3D sphere

  • Follow


Hi,

I created an ellipsoid model of the Earth using the functions "ellipsoid" and "surf" and set the image of the model to be the Earth.  I am now trying to rotate the ellipsoid to show the Earth model rotating.  I've looked online a bit at the "rotate" function but it doesn't seem to do what I want it to do (i.e., the ellipsoid is being rotated but the image of the Earth stays the same).

Is there a way to make both the Earth model and the image of the Earth rotate?

Any help would be greatly appreciated. Thanks!
0
Reply Zhen 7/13/2010 9:47:03 PM

"Zhen " <zhen.zhao6@gmail.com> wrote in message <i1imsn$fco$1@fred.mathworks.com>...
> Hi,
> 
> I created an ellipsoid model of the Earth using the functions "ellipsoid" and "surf" and set the image of the model to be the Earth.  I am now trying to rotate the ellipsoid to show the Earth model rotating.  I've looked online a bit at the "rotate" function but it doesn't seem to do what I want it to do (i.e., the ellipsoid is being rotated but the image of the Earth stays the same).
> 
> Is there a way to make both the Earth model and the image of the Earth rotate?
> 
> Any help would be greatly appreciated. Thanks!

You want to change your point of view, not the data.

help view

Cheers,
Cris.
0
Reply Cris 7/14/2010 10:42:22 AM


1 Replies
695 Views

(page loaded in 0.045 seconds)

Similiar Articles:













7/22/2012 7:09:10 AM


Reply: