LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

creating intensity graph from two sets of data?

Hi,

In my vi, I am getting two data set dependent on each other, i.e. amplitude(y) versus position(x). The data acquisition of x-y data happens in a for loop. This data is transferred outside the loop with index enabled. Outside the loop I want to plot an intensity graph out of these data, while z=amplitude, x=position,y=not important, say index. I don't want simply to transfer the amplitude data outside the loop and connect the 2D array of amplitude to the intensity graph. I want to preserve the position information in the intensity graph. How can I do this?

Thanks
0 Kudos
Message 1 of 2
(2,597 Views)
I'm not quite sure how you are wanting to visualize the data. The only way to use an intensity graph is to send it the 2D array of data in which the indices are the X and Y coordinates of your Z values. You could try to use one of the 3D graphs if that would make more sense for your application. I assume that you are wanting to have, for your position points, something like 3.24 which is not available from the indices of the 2D array? I would think that a 3D graph might be better for this, but again it depends upon exactly what you are wanting to see.
J.R. Allen
0 Kudos
Message 2 of 2
(2,597 Views)