Thread Subject: Rotation with angular velocity

Subject: Rotation with angular velocity

From: dias papas

Date: 3 Sep, 2007 22:12:35

Message: 1 of 5

How could I rotate a sphere with a known steady angular
rotational velocity?
And moreover how could be imaged all the movement, from the
begging to the end?

Thanks

Subject: Rotation with angular velocity

From: David

Date: 4 Sep, 2007 11:48:31

Message: 2 of 5

"dias papas" <dias_papas@mathwork.com> wrote in message
<fbi0sj$oqf$1@fred.mathworks.com>...
> How could I rotate a sphere with a known steady angular
> rotational velocity?
> And moreover how could be imaged all the movement, from
the
> begging to the end?
>
> Thanks

if it is a 'known steady' angular velocity there is no
beginning and no end.

Subject: Rotation with angular velocity

From: Randy Poe

Date: 4 Sep, 2007 14:03:15

Message: 3 of 5

On Sep 3, 6:12 pm, "dias papas" <dias_pa...@mathwork.com> wrote:
> How could I rotate a sphere with a known steady angular
> rotational velocity?

Something like this?

[x,y,z]=sphere(20);
h=surf(x,y,z);
set(gca,'plotboxaspectratio',[1 1 1], 'dataaspectratio',[1 1 1])
for i=0:20;
   set(gca,'view',[i*15, 30]);
   drawnow;
   pause(1);
end

This causes a rotation of 15 degrees in azimuth between
positions, with new positions at a rate of 1/second.

Unfortunately there's some autoscaling going on as the
figure rotates, which I don't remember how to turn off.

> And moreover how could be imaged all the movement, from the
> begging to the end?

Do you mean make a movie of the rotation?

HELP AVIFILE

             - Randy

Subject: Rotation with angular velocity

From: Doug Schwarz

Date: 4 Sep, 2007 21:00:35

Message: 4 of 5

In article <1188914595.498678.178720@o80g2000hse.googlegroups.com>,
 Randy Poe <poespam-trap@yahoo.com> wrote:

> Unfortunately there's some autoscaling going on as the
> figure rotates, which I don't remember how to turn off.

axis vis3d

--
Doug Schwarz
dmschwarz&ieee,org
Make obvious changes to get real email address.

Subject: Rotation with angular velocity

From: Randy Poe

Date: 5 Sep, 2007 02:42:30

Message: 5 of 5

On Sep 4, 5:00 pm, Doug Schwarz <s...@sig.for.address.edu> wrote:
> In article <1188914595.498678.178...@o80g2000hse.googlegroups.com>,
> Randy Poe <poespam-t...@yahoo.com> wrote:
>
> > Unfortunately there's some autoscaling going on as the
> > figure rotates, which I don't remember how to turn off.
>
> axis vis3d

Aha!

It was driving me crazy trying to figure out what property
I was missing with calls to SET. Turns out that I was
missing setting 'CameraViewAngleMode' to 'manual'.

The documentation claims that stretch-to-fill is turned
off if you set any of 'CameraViewAngleMode',
'PlotBoxAspectRatioMode', or 'DataBoxAspectRatioMode'
to 'manual', but that's not true. I had the latter two set with
no effect on the behavior. This may have changed in some
recent release because I don't think I ever knew about
'CameraViewAngleMode'.

                - Randy

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
rotation Dias Papas 3 Sep, 2007 18:15:05
rssFeed for this Thread

Contact us at files@mathworks.com