LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a 3-d graph from 3 1-D arrays containing x ,y cartesian coordinates and intensity values

Thanks for the suggestion, i didnt manage to make it work .

I am attaching the stem plot and my date in excel file . The columns are x y and intensity respectively.

thanks

 

stem plot.JPG

0 Kudos
Message 11 of 19
(1,217 Views)

Try the attached.  I used a 3D scatter plot (vector) with the camera pointed straight down at the XY plane, small point size, and some transparency to help show obscured points.  I added a couple Booleans -- the first will add some variance to your x values so they don't line up/obscure each other so much and the second will rotate the image so that it looks more like your "original data" image from earlier in the thread.  If you set your Y axis range to clip the upper outliers it will appear even more "round" and look somewhat more like your original.

 

Is it possible that your data has been compromised somehow?  Your x values are all integer and the original data image suggests that was not always the case. 

0 Kudos
Message 12 of 19
(1,203 Views)

Thanks for the quick reply.

I will try this ASAP. In general the Xdata are not integers, only in this particular case they were integers.

 

Many thanks

 

 

0 Kudos
Message 13 of 19
(1,190 Views)

Hi Billy,

 

to display values vs. coordinates I like to suggest using an intensity graph as demonstrated here

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 14 of 19
(1,185 Views)

Gerd Zwired and others  thanks a lot for your comments and suggestions .

 

Gerd: i thought of using  a intensity graph but as far as i know it requires a 2d array where the collumn and row index rapresent a ''pixel '' of the image and the value of the array is the intensity . In my case i have 3 1d arrays of negative and positive non integers values . is there a way to use this number as indeces for the 2D array ?

 

Zwired: THis vi works a treat but i could more or less visualise my results with stem plot.

What i need is to get a plot that looks like that for the 1st data you saw in the post (circlular dot on the plot)

many_beamlets.JPG

 

and for the 2nd set of data which are in the excel file i need a contour plot like this

 

contour.JPG

and after that a surface plot like this

surface from contour.JPG

I found these  2 from a presentation and they were madein mathematica.

 

Any suggestions accepted

 

Thanks again for your time

0 Kudos
Message 15 of 19
(1,180 Views)

Hi Billy,

 

is there a way to use this number as indeces for the 2D array ?

You know the coordinates of each pixel. What is the problem to fill a 2D array with your pixel values based on those coordinates?

 

The wafer prober in my link above also gave just coordinates and corresponding measurement values…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 16 of 19
(1,172 Views)

the problem is that these values are not integers and i cant index a 2d array with them .

 

 

 

0 Kudos
Message 17 of 19
(1,165 Views)

Hi Billy,

 

chip positions on a wafer are almost always non-integers when measured in mm - and still I could use a 2D array…

 

You can:

- increase 2D array size to simulate a finer resolution

- use some (bilinear) interpolation to fill gaps…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 18 of 19
(1,160 Views)

Thanks for the response, i ll try this way because the 3d plots are more difficult to implement and maybe more hungry for memory as they ll have to show in every iteration.

Many thanks

 

0 Kudos
Message 19 of 19
(1,155 Views)