开发者

Plot CSV data as a graph

What would be t开发者_高级运维he best approach to plot a chart, using C (on Linux), based on data input from a CSV file?

Thank you!


Have a look at the mighty gnuplot it seems to have a C API

And examples: http://ndevilla.free.fr/gnuplot/gnuplot_i/index.html


To make a graph in C you'll have to use a graphics library (unless you mean an ascii-art graph).

Two such libraries are:

  • The excellent Allegro gaming library (see examples here)
  • The SDL library
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜