LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to plot multiple dynamic data on xy graph with same x axis

I have two different dynamic data, which have to be plotted in single xy graph. I am using iteration number as the time axis. Pl see code attached below. Dynamic data are represented as two different random numbers.

 

Question: How to get data2 also in the same plot??

 

0 Kudos
Message 1 of 2
(3,825 Views)

Why are you even bothering with dynamic data and the express graph? Simply use the regular XY graph. As the context help shows, you bundle one y array with the x array, bundle the other y array with the same x array, then create an array from the outputs of both bundle functions.

 

p.s. It is silly to be using an XY graph in this situation. A normal graph would be better when you are incrementing the x axis by one. The whole point of an xy graph is having an x axis with unequal x increments.

0 Kudos
Message 2 of 2
(3,823 Views)