08-03-2011 10:20 PM
I had a problem with graphing a bunch of X,Ypoints. I had multiple 2D arrays. Each 2D array had different number of rows. I came up with this solution (see attached
vis, both 2010 and 2009).
Please let me know if there is a better way. I would have like all of the zeros to go to NaN.
Best option would be to create a 3D array with different size 2D arrays.
Solved! Go to Solution.
08-04-2011 03:30 PM
While it is possible to create a 3D array from the multiple 2D arrays, a better way to send data to the XY Graph would be to send an array of clusters. To do this you would take your 1D array of X points and 1D array of Y points and use the bundle function to create a cluster. You would create as many clusters as needed and then the final step will be the Build Array function to put the clusters into a single array. See the bottom portion of the block diagram on the attached VI (LV2010 format).
Anthony F.
08-04-2011 04:49 PM
I knew there was a simpler solution. Thank you!