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
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com