1

What is the best way to chart a 3D scatter graph in C++?

Or maybe it's easier to use an external programs. Can you recommend my anything?

Georg Schölly
  • 124,188
  • 49
  • 220
  • 267
YAKOVM
  • 9,805
  • 31
  • 116
  • 217
  • What platform are you on? How do you want the output to be displayed or stored? How should it integrate with the rest of the program? – Potatoswatter Apr 09 '11 at 09:30

2 Answers2

3

Did you heard about ChartDirector. I used to use it but don't know if they have a 3D scatter chart. Try http://www.advsofteng.com/1

2

What you'll want is some form of GUI library - you could use, say, ncurses, but graphs in a terminal are rather difficult. Any GUI library will do it.

FLTK is the easiest to pick up and can definitely accommodate your problem, but GTK should also do it, along with wxWidgets et al.

Failing that, OpenGL is probably a hacky way to get it done!

Hope this helps.

Ben Stott
  • 2,218
  • 17
  • 23