LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple plots array sizes

I am taking data scans, and I want to plot the current scan and the running average.  If the scan takes data at N positions of a motor, at position i the current scan will be an array of i elements but the running average will be an array of N elements.  I can plot both of these on separate graphs with no problem.  How can I plot it on one graph since I can't bundle the data?

 

Is possible to have the current scan be an N-element array but the last N-i are empty or invisible on the plot?

 

Thanks

0 Kudos
Message 1 of 2
(2,270 Views)

Look at the XY graph example in the example finder.  There are several different ways of either using arrays and/or clusters to group different sets of data together.  You may not need to make the last data points invisible depending on the method you choose.

 

But if you do make the other elements of the array into the NaN value, then they won't plot on the graph.

0 Kudos
Message 2 of 2
(2,265 Views)