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:
Moving 3d surf plot GUI

Subject: Moving 3d surf plot GUI

From: Nicolás

Date: 3 Dec, 2008 20:49:02

Message: 1 of 3

Hi everyone. I made a GUI which shows a 3d plot from a surf command in a axes object. I want to know if is possible to rotate 3d this plot as you will do with any surf plot made in MatLab frontdesk.

Thanks in advance,

Nicolas

Subject: Moving 3d surf plot GUI

From: Nicolás

Date: 3 Dec, 2008 21:00:21

Message: 2 of 3

"Nicolas" <odiseo1982@yahoo.com> wrote in message <gh6rbu$qmc$1@fred.mathworks.com>...
> Hi everyone. I made a GUI which shows a 3d plot from a surf command in a axes object. I want to know if is possible to rotate 3d this plot as you will do with any surf plot made in MatLab frontdesk.
>
> Thanks in advance,
>
> Nicolas

Well, I found my answer:

After the creating surf command, the rotate3d on option must be included. That's all. Anyway, thanks a lot.

Subject: Moving 3d surf plot GUI

From: Wyatt Mohrman

Date: 30 Dec, 2010 20:16:05

Message: 3 of 3

"Nicolas" wrote in message <gh6rbu$qmc$1@fred.mathworks.com>...
> Hi everyone. I made a GUI which shows a 3d plot from a surf command in a axes object. I want to know if is possible to rotate 3d this plot as you will do with any surf plot made in MatLab frontdesk.
>
> Thanks in advance,
>
> Nicolas

indeed, just for anyone out there wondering onto this fourm, here it is clear as day

no rototation:

surf(peaks);

with rotation:

surf(peaks);
h=rotate3d;
set(h,'Enable','on');

Tags for 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