开发者

drawing graphs in ubuntu

I have a C code that collects data and places them in a 2-D array. I would like to plot this data on an x-y 开发者_C百科graph (mathematics) automatically i.e. pass the data as parameters in a command line and get a graph

Are there any suggestions for how to do so?


gnuplot is a good one to look at assume you mean x-y charts, if you want actual graphs then look at dot


gnuplot will do what you need. If you want to process the data before, you might want to try octave, which aims to be a matlab equivalen (still uses gnuplot as a frontend for graphing).

If you want even more control, you could write a script in python and use matplotlib.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜