Got Questions? Get Answers.
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:
3-axis plot

Subject: 3-axis plot

From: J G

Date: 30 Sep, 2010 03:05:26

Message: 1 of 4

I am creating a 3-axis plot using:

plot3(x,y,z,'*')

However, I would like to view the figure in 2D (with 3 axis, covering 3 sides of the figure).
Is this possible? Thanks for any help.

Subject: 3-axis plot

From: Roger Stafford

Date: 30 Sep, 2010 03:40:24

Message: 2 of 4

"J G" <jemma.geoghegan@gmail.com> wrote in message <i80upm$q64$1@fred.mathworks.com>...
> I am creating a 3-axis plot using:
>
> plot3(x,y,z,'*')
>
> However, I would like to view the figure in 2D (with 3 axis, covering 3 sides of the figure).
> Is this possible? Thanks for any help.
- - - - - - - - - -
  The display of plot3 is of necessity a two-dimensional view. The matlab function 'view' is used to adjust this in accordance with a user's desired azimuth and elevation angles with respect to a hypothetical three-dimensional plot. See its documentation.

Roger Stafford

Subject: 3-axis plot

From: Walter Roberson

Date: 30 Sep, 2010 04:21:24

Message: 3 of 4

On 29/09/10 10:05 PM, J G wrote:
> I am creating a 3-axis plot using:
>
> plot3(x,y,z,'*')
>
> However, I would like to view the figure in 2D (with 3 axis, covering 3
> sides of the figure). Is this possible? Thanks for any help.

Could you point us to a sample of what you would like the result to look
like? It's hard to imagine at the moment, unless you were using a
non-linear unfolding like is done for maps of the Earth.

Subject: 3-axis plot

From: Javier

Date: 21 Sep, 2011 11:54:28

Message: 4 of 4

Walter Roberson <roberson@hushmail.com> wrote in message <8fUoo.17718$Ki.10316@newsfe17.iad>...
> On 29/09/10 10:05 PM, J G wrote:
> > I am creating a 3-axis plot using:
> >
> > plot3(x,y,z,'*')
> >
> > However, I would like to view the figure in 2D (with 3 axis, covering 3
> > sides of the figure). Is this possible? Thanks for any help.
>
> Could you point us to a sample of what you would like the result to look
> like? It's hard to imagine at the moment, unless you were using a
> non-linear unfolding like is done for maps of the Earth.

You can use PLOTYY; hope it helps.

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