03-14-2012 09:36 AM
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??
03-14-2012 09:43 AM
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.