免费的简便方法来用C ++绘制图形和图表吗? [英] Free easy way to draw graphs and charts in C++?

查看:44
本文介绍了免费的简便方法来用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 ,但它似乎太重了。我只想要一个简单的xy时间线图。

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 ++绘制图形和图表吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆