LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic XY plot colors and legend

Hello,

I am parsing data out into a multiplot XY plot, I need each data set to be a different color, and I need to have each data set have its name in a legend.  I am currently using the Plot Multi-XY.vi and plotting as a picture (is this the only way to have multiple plots on an XY graph?).  I dont know how many data sets there will be for each plot .  Any info will be greatly appreciated.

Cheers
0 Kudos
Message 1 of 3
(2,909 Views)
You can have multiple plots on a plain xy graph. Check the online help for the various ways to hook up the data. You can dynaically set the color and legend using property nodes.
 
What is your data type you want to plot? (dynamic, arrays of x and y, arrays of xy pairs, complex, ....)
Message 2 of 3
(2,898 Views)
jmcbee,

Take a look at this example program:

http://zone.ni.com/devzone/cda/epd/p/id/2627


Trey B
Applications Engineering
National Instruments
0 Kudos
Message 3 of 3
(2,884 Views)