Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Rotating 3D plots

Subject: Rotating 3D plots

From: Chuck37

Date: 24 Feb, 2010 23:48:04

Message: 1 of 2

I hope someone can help out. Suppose I have a 3D plot, it's very big and for the moment I only care about a small part of it. I zoom way in until I'm looking closely at my place of interest, but if I try to rotate I find that the rotation is about some other spot far away and the point of interest is instantly way off screen.

Is there a way to change the point of rotation to be my current point of interest? I can know this ahead of time, so it doesn't need to be a graphical way. I have tried setting CameraTarget to my point of interest, but I find that the instant I click on the plot, CameraTarget changes to some new, seemingly random, location. I've tried changing various things from auto to manual, but they too change the second the interface is used.

Thanks for any help.

Subject: Rotating 3D plots

From: Matt Dunham

Date: 1 Mar, 2010 18:21:22

Message: 2 of 2

"Chuck37 " <chuck3737@yahooremovethis.com> wrote in message <hm4drk$rej$1@fred.mathworks.com>...
> I hope someone can help out. Suppose I have a 3D plot, it's very big and for the moment I only care about a small part of it. I zoom way in until I'm looking closely at my place of interest, but if I try to rotate I find that the rotation is about some other spot far away and the point of interest is instantly way off screen.
>
> Is there a way to change the point of rotation to be my current point of interest? I can know this ahead of time, so it doesn't need to be a graphical way. I have tried setting CameraTarget to my point of interest, but I find that the instant I click on the plot, CameraTarget changes to some new, seemingly random, location. I've tried changing various things from auto to manual, but they too change the second the interface is used.
>
> Thanks for any help.

Instead of zooming in, try only plotting the data you want to see.

Tags for this Thread

No tags are associated with this thread.

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.

Contact us