I am currently writing an application using C++ and MFC. I would like the output of this program to include both 2D and 3D plots. I prefer not to write these plotting routines by hand. I am hoping that there is free software out there to do this. I looked at the WPF-powered 3D graphing library found on this server. It is written in C#. I am thinking that is going to be an issue for me. I also tried building it, and ran into some problems. I am thinking that there should be a similar library for C++ and MFC. However, I have been unable to find it. I am hoping somebody here can point me in the right direction.