From: Zhen on
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!
From: Cris Luengo on
"Zhen " <zhen.zhao6(a)gmail.com> wrote in message <i1imsn$fco$1(a)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.