1

I'd like to create and embed some simple plots into a GUI I've created in a Visual C++ win32 application. I could do something as simple as drawing rectangles and lines when handling a WM_PAINT message, but it'd probably be better in the long run if I could just import a more comprehensive package to allow me to do plotting.

"mathGL" seems like an attactive solution (although I'm open to others), but like most libraries, discussions (e.g. Is there any 'out-of-the-box' 2D/3D plotting library for C++?) and examples create extra windows, and I'd like to embed this in an existing window. Is this possible? Any ideas or suggestions for where to look?

Another option would seem to be to save an image and load the image into a win32 application, but this would seem to be more inefficient, especially if I want to update the plots & graphics frequently.

Community
  • 1
  • 1
aquirdturtle
  • 2,038
  • 26
  • 20

0 Answers0