使用 Koolplot 而不创建新的绘图窗口
我一直在尝试 Koolplot 绘图库。我已经成功地设置了链接并包含了所有内容,因此一切都可以很好地编译。我想知道是否可以在当前窗口内绘制图表。每当调用 plot(x, y);
时,它都会创建一个包含图形的新弹出窗口。我希望将此图集成到当前窗口中,而不是仅为该图打开一个新窗口。例如,我有一个简单的 Win32 窗口,我希望在其上显示图形。
我在 Windows 7 上通过 GNU 编译器使用 C++ Win32 API(不是 MFC 或 VC++)。如果有任何其他比 Koolplot 更好的图形库并且有可以使用的 API,请告诉我。 (我不想要像 gnuplot.exe 这样必须从我的程序中调用的二进制文件。)
I have been experimenting with the Koolplot plotting library. I have managed to set up the linking and includes so everything compiles nicely. I was wondering if it was possible to plot a graph within a current window. Whenever plot(x, y);
is called, it creates a new pop-up window with the graph in it. I would like to have this graph be integrated into the current window instead of opening a new window just for the graph. For example I have a simple Win32 window and I would like the graph to be displayed on it.
I am using C++ Win32 API (not MFC or VC++) on Windows 7 with GNU Compiler. If there are any other graphing libraries that are better than Koolplot and that have an API that can be used, let me know. (I don't want a binary like gnuplot.exe that has to be called from my program.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论