LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

bar plot on XY graph with different colors some bars

Hello
 
I want to buil a bar plot on XY graph. All the bars are blue but when the value of the bar is bigger than a constant this bar have to be red.
 
It is possible to choice the color of each bar and change it. If is not possible which is the correct way to do it?
 
P.D: i've thought to make two separate plot but i'm looking for a better solution.
 
Thank you very much
 
Larson
0 Kudos
Message 1 of 4
(3,124 Views)

Hi larson

Did you search the forum on this topic? There were some discussions about different colours on one plot recently.
(for example http://forums.ni.com/ni/board/message?board.id=170&message.id=149201#M149201)

I don't know another way of using different colours than use different plot.

Thomas

 

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 4
(3,116 Views)

See the attached:

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Message 3 of 4
(3,114 Views)

This vi will parse data into 2 bins and plot them in 2 different colort depending if they are above the cutoff value, Y control is the cutoff value set this between 0.0-1.0 because all values are randomly generated and have values in the range 0.0-1.0

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 4 of 4
(3,113 Views)