简体   繁体   中英

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 xy graph (mathematics) automatically ie 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 xy 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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM