EiC's gnuplot API
This is a brief discription of EiC's gnuplot API.
There is a demo program in this directory which can be easily compiled:

           gcc -o demo demo.c

or run via EiC:

           eic demo.c

The basic method for EiC's gnuplot API works like this:

1. create a plot object:

            #include "gnuplot/gplot.h"
            ...
            plot_t *p = openPlot("name of plot");

2. Send the plot some information:

            int a = 1;
            send2plot(p,"plot [x=%d:%d] cos(x)",-a,a);

3. There are also many predefined interface functions; for example:

            int i; float A[100];
            for(i=0;i<100;++i) A[i] = i/3.0;
            plotData(A,100,p,plotFloats);

4. when finished close the plot:

            closePlot(p);

Other links:

- Scientific Plotting
- Another gnuplot C API

</htm>