如何在 C++ 中绘制 3d 散点图?
在 C++ 中绘制 3D 散点图的最佳方法是什么?
或者也许使用外部程序更容易。你能推荐我的东西吗?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您听说过 ChartDirector 吗?我以前用过它,但不知道他们是否有 3D 散点图。尝试 http://www.advsofteng.com/1
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
您需要的是某种形式的 GUI 库 - 您可以使用 ncurses,但在终端中绘制图形相当困难。任何 GUI 库都可以做到。
FLTK 是最容易掌握的,并且绝对可以解决您的问题,但是 GTK 也应该这样做,以及 wxWidgets 等等人。
如果做不到这一点,OpenGL 可能是一种很奇怪的方法来完成它!
希望这有帮助。
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.