LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Check the color of a plot

Hello, I am drawing different plot in the same XYgraph. I would like to check the color of the current plot is drawn. I tried to use plotcolor but it gave to me only the clor of the first plot.
Any ideas?
thank you very much
0 Kudos
Message 1 of 3
(2,849 Views)
You are so close!

LV is returning the color for plot "0" becuase you have not told it what plot you want info for.

On the property node that you are using now to get the plotcolor, add an input just above the plotcolor terminal and select "active plot". THen wire an index to let LV know which of the plots you are interested in.

I hope this helps,

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 2 of 3
(2,849 Views)
tank you very much I have found it
Have a good day
Hor
0 Kudos
Message 3 of 3
(2,849 Views)