Free easy way to draw graphs and charts in C++?(在 C++ 中绘制图形和图表的免费简单方法?)
问题描述
我正在做一些探索性模拟,我想展示图表以比较运行时算法之间的性能.
I am doing a little exploring simulation and I want to show the graphs to compare the performance among the algorithms during run-time.
你想到了什么图书馆?如果我的导师很容易编译我的代码,我非常喜欢那些很小的代码.我检查了 gdchart 但它似乎太重了.我只想要一个简单的 x-y 类型的时间线图.
What library comes to your mind? I highly prefer those that come small as I'd love if it's easy for my instructor to compile my code. I've checked gdchart but it seems to be too heavy. I just want a simple x-y sort of timeline graph.
谷歌图表当然是不可能的,如果你读过这个 类似的问题.
Google chart is of course out of the question, in case you've read this similar question.
相关帖子 C++ 中的散点图.
推荐答案
我最喜欢的是 gnuplot.它非常广泛,因此对于您的需求来说可能有点过于复杂.它是跨平台的,并且有 一个 C++ API.
My favourite has always been gnuplot. It's very extensive, so it might be a bit too complex for your needs though. It is cross-platform and there is a C++ API.
这篇关于在 C++ 中绘制图形和图表的免费简单方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:在 C++ 中绘制图形和图表的免费简单方法?


基础教程推荐
- 这个宏可以转换成函数吗? 2022-01-01
- 如何在 C++ 中初始化静态常量成员? 2022-01-01
- 我有静态或动态 boost 库吗? 2021-01-01
- 静态库、静态链接动态库和动态链接动态库的 .lib 文件里面是什么? 2021-01-01
- C++结构和函数声明。为什么它不能编译? 2022-11-07
- 如何通过C程序打开命令提示符Cmd 2022-12-09
- 如何检查GTK+3.0中的小部件类型? 2022-11-30
- 在 C++ 中计算滚动/移动平均值 2021-01-01
- 常量变量在标题中不起作用 2021-01-01
- 如何将 std::pair 的排序 std::list 转换为 std::map 2022-01-01