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 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?
gnuplotwill do what you need. If you want to process the data before, you might want to tryoctave, 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.