Generate line graph for any benchmark?

萝らか妹 提交于 2019-12-02 14:49:36

问题


I had spent so many hours failing to find a line graph generator for my benchmark results that I just wanted to plug in. I tried quite a few like Google's chart API but it still seemed confusing or not graceful looking, I am clueless.

Examples of benchmark images I wished to make something like are this:

What specific applications /web services do you recommend for generating something even close to this? I want something "neat".


回答1:


You can use python mathplotlib, which generates beautiful graphs like:

(Source code)




回答2:


I use gnuplot. It is not a lib, but a separate executable file. You can output plotting data to one file, and plotting commands in another - script file, which refer to data file. Then call gnuplot with this script file. Another way is to use qwt. It is a real library, but it depends on Qt. If you already use Qt in your project, it is very straigth way to plot graphs. If not, then just use gnuplot



来源:https://stackoverflow.com/questions/3796634/generate-line-graph-for-any-benchmark

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!