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:
3D Graph (2D line chart, 3rd Dim Bar)

Subject: 3D Graph (2D line chart, 3rd Dim Bar)

From: BMA

Date: 20 Sep, 2009 11:39:05

Message: 1 of 2

Hello:

I would like to generate a 3-dimensional graph that on the x-y dimension, it is a simple line chart, i.e. line connecting the points (x,y). But on the 3rd dimension, the points on the x-y axes (x,y) is connected to their respective points on the z-axis. How do I do this using MATLAB?

Thank you!

Subject: 3D Graph (2D line chart, 3rd Dim Bar)

From: Dave Brackett

Date: 20 Sep, 2009 21:33:03

Message: 2 of 2

"BMA " <stats112@gmail.com> wrote in message <h9548o$5q4$1@fred.mathworks.com>...
> Hello:
>
> I would like to generate a 3-dimensional graph that on the x-y dimension, it is a simple line chart, i.e. line connecting the points (x,y). But on the 3rd dimension, the points on the x-y axes (x,y) is connected to their respective points on the z-axis. How do I do this using MATLAB?
>
> Thank you!

try using 'surf'

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