03-25-2010 04:11 AM
I want to add a gaussian curve on the histogram chart like the attached picture. I plot the histogram already with my data, but I don't know how to add the gaussian curve.
I appreciate your help very much.
Solved! Go to Solution.
03-25-2010 07:15 AM
It should be as simple as build array from waveforms. You just need to ensure:
1) they have the same number of data points in each Y part of the waveform
2) t0 and dx are the same for both sets of data.
I haven't solved it using express VIs yet, but I'm struggling to get data that conforms to the above rules (otherwise I would have posted an example her for you).
Once you have worked out what you need to do to the data sets to manipulate them to get them to conform to the above rules, you will be fine.
James
03-25-2010 07:37 AM
If you have the Statistical Process Control (SPC) toolkit or Datalogging and Supervisory Control toolkit (DSC), LabVIEW has many built-in histogram functions.
look for "Plot Histogram and Normal PDF"
03-25-2010 07:57 PM
03-26-2010 05:42 AM
Here is an example using Continuous PDF.vi function.
Does this help?
cheers
David