LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get multiple plots on an XY Graph?

I am trying to create a force vs position graph that can compare multiple plots of data on the same graph. I cannot seem to get an XY graph to show more than one plot at a time.  I've tried using the 'merge singals' function but found that this can only be used with dynamic data. Is there a way to do this and XY graph?
 
-Matt
0 Kudos
Message 1 of 4
(3,992 Views)
Hi,

To get multiple plots on an xy graph, you wire in an array of xy clusters. The xy graph can take in either a single xy cluster or an array of clusters. It will plot multiple traces on a single xy graph if you wire in an array of xy clusters. This is also shown if press Ctrl-H to get the context help open and hover over the xy graph.

Hope that helps,

-Tim
Message 2 of 4
(3,984 Views)
Attached is an example I made for someone else. It actually does a bit more than you need in that each time you press the new plot button a separate plot is created, but the important thing is the concepts behind it.

Note that the points sort of dance around the plot area because the X and Y values are derived from random number generators.

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 3 of 4
(3,976 Views)
Finally got it. Thanks guys!
Message 4 of 4
(3,963 Views)