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:
mesh with

Subject: mesh with

From: Kirk

Date: 19 Jul, 2011 16:53:12

Message: 1 of 2

I am have three columns of data 3 x 1000 (x,y,z) that I would like to visualize with a mesh plot. However, a mesh requires a matrix for the z data. I can plot the data as a 3d scatter. Is there a way to convert these data into a mesh? Thanks in advance.

Subject: mesh with

From: Sean de

Date: 19 Jul, 2011 19:54:08

Message: 2 of 2

"Kirk" <kwythers.nospam@umn.edu> wrote in message <j04cpo$8lv$1@newscl01ah.mathworks.com>...
> I am have three columns of data 3 x 1000 (x,y,z) that I would like to visualize with a mesh plot. However, a mesh requires a matrix for the z data. I can plot the data as a 3d scatter. Is there a way to convert these data into a mesh? Thanks in advance.

Use griddata or triscatteredinterp to interpolate to an even mesh.

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