开发者

Plot CSV data as a graph

开发者 https://www.devze.com 2023-02-13 03:50 出处:网络
What would be t开发者_高级运维he best approach to plot a chart, using C (on Linux), based on data input from a CSV file?

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

精彩评论

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