LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert Circular X,Y,Z values to 3D Plot

Hi all,

 

I'm having trouble with converting X, Y, Z coordinates into a usable format so that they can be used in a 3D surface plot. The values are taken in various circular patterns within a circular object. Example of the scan pattern shown below.

 

Linty_C_1-1668529002165.png

 

The scan takes a set of 625 evenly spaced (except for the few at the bottom of the outer most ring) data points in a counter-clockwise movement. I've used Excel to create a Z-matrix of the data in the correct scan orientation.

 

Plotting the raw data gives me this.

 

Linty_C_6-1668531389844.bmp

 

Plotting the Z-matrix gives me this.

 

Linty_C_4-1668530821249.png

 

My goal is to translate the data into something similar to this.

 

Linty_C_5-1668531289126.bmp

 

So, I suppose that my questions are:

  1. What is the best way to transpose the X, Y, Z data into a Z-matrix in LabVIEW so that I don't need to do it in Excel? Is that even needed for what I'm trying to accomplish?
  2. How do I transform these values into the picture above? Would converting to polar values first help?
    • In the past, although the same item was scanned, the data that was created was a 200 x 200 Z-matrix that was already in the correct 'shape'. This data set is only a 25 x 25 square.

Thanks in advance for the help.

Download All
0 Kudos
Message 1 of 1
(653 Views)