LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I choose the colors of the curves on a graphe ?

I use LabView 6.1 and I make a graphe with several curves. I would like to choose the color of each curve, how can I do that ?
0 Kudos
Message 1 of 4
(2,811 Views)
Right click the graph and set Visible Plot Legend to True. On the front panel, use the pointer/arrow tool left click and drag to expand the plot legend to however many plots you got. Right click on the plot legend of a particular curve and choose color.


2006 Ultimate LabVIEW G-eek.

0 Kudos
Message 2 of 4
(2,811 Views)
Manually you can do it by right-clicking on the graph and selecting to see the graph legend...now expand the legend to show the number of graphs you have, then click on each of the curves in the legend and you get a menu where you can set the color and lots of other properties of each curve.

Programmatically you do it by making a property node linked to the graph with the "Active plot" and "Plot color" properties...

Attached is a picture of an example...in the example I also set the names of the plots programmatically. On the front panel you can see the graph legend where you could have done the same changes manually.
0 Kudos
Message 3 of 4
(2,811 Views)
Simply pop up on the line in the legend that you want to change the color with the Color tool and select the color that you want.
0 Kudos
Message 4 of 4
(2,811 Views)