GNUPLOT_I is a C library which allows a C or C++ program to pass data to GNUPLOT for immediate plotting, by Nicholas Devillard.
In order to use this package, you must have GNUPLOT available in your path.
The original package allowed the user to plot a pair of data vectors (x,y) by storing them in a struct designated as a "dpoint", and calling the function
void gnuplot_plot1d_var2 ( gnuplot_ctrl *handle, dpoint *d, int n_points, char *title )
My preference is to handle such data as a pair of vectors x and y. Thus, a variation of the above function has been prepared:
void gnuplot_plot1d_var2v ( gnuplot_ctrl *handle, double *x, double *y, int n_points, char *title )
GNUPLOT_I is available in a C version.
GNUFOR, a FORTRAN90 library which provides an interface to the GNUPLOT graphics library.
GNUPLOT, C programs which illustrate how a program can write data and command files so that gnuplot can create plots of the program results.
GNUPLOT_I_EXAMPLES, C programs which demonstrate the use of the GNUPLOT_I library for interactive runtime GNUPLOT graphics.
Nicholas Devillard
You can go up one level to the C source codes.