Hello again,
Do you want to create a histogram of discrete points, or do you want to create a histogram that looks similar to a bar graph with the X-axis range automatically updating to match the X data values?
Within LabVIEW, there are various histogram example VIs. I'd be willing to bet that one of these examples will suit your needs. To access the examples, open LabVIEW and click [Help]>>[Find Examples] on the front panel. Search for "histogram" and open the various files to observe various histogram implementations.
Furthermore, I have included a link to more information about the Create Histogram Express VI feature that's imbedded in LabVIEW.
Click Here. You can display both histograms on the same plot by building a 2-D array with the output histogram data, sending the array into a single waveform graph, and plotting the two data sets as different color/style points. I've attached an example program in which I overlay two histogram plots and create visual contrast by modifying the plot properties. To modify the plot properties, [right-click] on the graph on the front panel of your VI, select [Properties], and go to the [Data] tab. Here, you can change the plot styles for each data set. Also, if you [right-click] on the graph from the front panel and click [Visible Items]>>[Plot Legend], you can modify the colors of each plot by clicking on each respective plot icon and changing the display color.
What are you using this histogram to represent? If you can send me a detailed description of your desired functionality, I can further assist you in finding a solution.
I hope this helps!
Best Regards,
Joe Des Rosier
National Instruments