Thread Subject:
Spinning a 3d plot with the mouse

Subject: Spinning a 3d plot with the mouse

From: David Doria

Date: 2 Dec, 2008 01:38:02

Message: 1 of 3

I always seem to have massive trouble obtaining the view of a 3d plot that I would like. When I rotate it with the mouse, it seems to hit a "wall" where then I either cannot rotate any more or it flips over some axis and does not allow me to get the viewpoint where I want it. Is there a way to put the 3d rotation into a "free-er" mode where I can spin it any which way as if it were a 3d model in a modeling (SolidWorks, etc) program?

Thanks,

Dave

Subject: Spinning a 3d plot with the mouse

From: Kenneth Eaton

Date: 2 Dec, 2008 02:00:18

Message: 2 of 3

"David Doria" <daviddoria@gmail.com> wrote in message <gh23hp$b0k$1@fred.mathworks.com>...
> I always seem to have massive trouble obtaining the view of a 3d plot that I would like. When I rotate it with the mouse, it seems to hit a "wall" where then I either cannot rotate any more or it flips over some axis and does not allow me to get the viewpoint where I want it. Is there a way to put the 3d rotation into a "free-er" mode where I can spin it any which way as if it were a 3d model in a modeling (SolidWorks, etc) program?
>
> Thanks,
>
> Dave

I don't generally like the built-in rotation either. I usually end up designing my own controls using the WindowButton(Down/Motion/Up)Fcns. You could also check some of the CAM(BLANK) functions, like CAMDOLLY, CAMZOOM, etc.

Ken

Subject: Spinning a 3d plot with the mouse

From: Jiro Doke

Date: 2 Dec, 2008 02:02:03

Message: 3 of 3

"David Doria" <daviddoria@gmail.com> wrote in message <gh23hp$b0k$1@fred.mathworks.com>...
> I always seem to have massive trouble obtaining the view of a 3d plot that I would like. When I rotate it with the mouse, it seems to hit a "wall" where then I either cannot rotate any more or it flips over some axis and does not allow me to get the viewpoint where I want it. Is there a way to put the 3d rotation into a "free-er" mode where I can spin it any which way as if it were a 3d model in a modeling (SolidWorks, etc) program?
>
> Thanks,
>
> Dave

Try using CAMERATOOLBAR

For example,

cameratoolbar('setmode', 'orbit')

might be close to what you're looking for.

jiro

Tags for this Thread

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.

rssFeed for this Thread

Contact us