LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to display histograms of different colors?

How to display histograms of different colors?Like Pictrue, the left side is the histogram I am currently doing, the right side is the result I want to display, how to attachment the limit to change display different colorshistogram.png

0 Kudos
Message 1 of 5
(3,074 Views)

Copy your data to as second plot and give each plot a different color.

 

Edit the array data going to the plots so that the values are zero in plot 1 if they are to be show in plot 2, and vice versa.  NaN should also work as a replacement value.

0 Kudos
Message 2 of 5
(3,046 Views)

Hi RavensFan:

 

    How to show two plot in same Graph? Has example?

0 Kudos
Message 3 of 5
(3,021 Views)

Hi hnint,

 

LabVIEW comes with a huge example library, and there are example VIs for charts and graphs…

(Or read the context help for graphs and charts!)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 5
(3,011 Views)

@Tarzan-Chan wrote:

Hi RavensFan:

 

    How to show two plot in same Graph? Has example?


You put the two plots together in a single graph just like you would on other graphs.  Look at the examples for graphs in LabVIEW to see they way you need to combine them.  Probably just building the two into an array.

0 Kudos
Message 5 of 5
(3,001 Views)