I'm looking for an easy-to-use and accurate C++ library or source code to perform gaussian curve fitting. I found gsl, dlib and other similar libraries very difficult to start with because this is one-time task and won't be going into such computing details.

1 Answer 1


I got it working with MathGL, a really good library for plotting, fitting and other good stuff. Here is listing of code samples which really helped me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.