Hello,
I've been using QwtPlotHistogram in my application for a while, and recently a new feature was requested. The idea is to always (or, at the very least, provide an option to) plot a Normal Distribution curve along with the histograms.
Something like this: BinomialGaussian_1000.gif
I was wondering if qwt already provides any function related to this, if so, I'd rather use it. If not, does anyone have any hints as to how implement this? For now, I'm using std::normal_distribution to generate the values based on a previously calculated mean and standart deviation, but I'm wondering if there is a faster way to implement this based solely on QwtPlot coordinates instead of calculating so many values.
Any help or hints are greatly appreciated.
Bookmarks