I searched for mathematical function plot library for windows
and found this:
- FPlot a ".NET library for plotting functions and measurement data" (a project on CodeProject)
and you can try to use the source code of:
You'll have to check the licenses. I didn't try any of these, by the way.