ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

xyz scatter plot

I need to plot data from 3 arrays.The first array has the location of the pixel with respect to y axis,the second has data with respect to x axis and the third array has data of the pixel intensities.The pixel intensities are to be plotted(scatter) on a graph which shows x and y axes.
0 Kudos
Message 1 of 2
(3,736 Views)
Hi marooner,

you basically need an X-Y intensity graph.
It is not immediate in LV, but in can be done:
- First you have to create a pixel map (2D array of X,Y size)
- Then you have to insert in the array Z values at (X,Y) coordinates.
- At the end dislay it on an intensity graph.

I attach an example vi that shows it.

Hope it helps.
Regards,
Alberto Locatelli
Message 2 of 2
(3,736 Views)