info regarding gnuplot

info regarding gnuplot

Post by GYAN PRAKASH SUMMER TRAINEE UNDER DR P SHAR » Sat, 02 Jun 2001 03:29:51



sir,
     I want know that how can i connect the gnuplot in the
c-programme.Please suggest me about this problem with a example.

Thanking with anticipation,
Yours cencerly,
Gyan Prakash.

 
 
 

info regarding gnuplot

Post by dirk caspa » Sat, 02 Jun 2001 17:19:39


Hello!

Quote:>      I want know that how can i connect the gnuplot in the
> c-programme.Please suggest me about this problem with a example.

 Maybe this is something what you are looking for:

        http://www.eso.org/~ndevilla/gnuplot/

or as an example (from Q Modnar):

#include <stdlib.h>
#include <stdio.h>

int main()
{
        FILE *fp;
        fp = popen("gnuplot","w");

        /* Plot x*x */
        fprintf(fp,"plot x*x\n");
        fflush(fp);

        fprintf(stderr,"\nPress <ENTER> to exit....\n");
        getchar();

        /* Send postscript output to file outfile.ps */
        fprintf(fp,"set output \"outfile.ps\"\nset term post\nplotx*x\n");

        pclose(fp);
        return 0;

Quote:}

Happy hacking

        d!rk

------------------------------------------------------------------------

Institut fuer Physikalische Chemie    Phone +49 (0)551 3912675
Tammannstr. 6                         Fax   +49 (0)551 3912592
D-37077 G?ttingen

 
 
 

1. Info regarding gnuplot

Dear sir.
            Iam a student of I.I.T,Delhi.I would like to have more
information regarding the usage of gnuplot.Kindly rush details to the
following E-mail address.

          Thanking you,
                      K.V.T.Ravi

2. Polygon Tesselation

3. REPORT SUBMITTED REGARDING: info-gnuplot@dartmouth.edu

4. Z coord in a plane (basic question)

5. Help regarding the gnuplot

6. FLI format extensions

7. question regarding use of gnuplot 3.5

8. Using an Epson Scanner

9. regarding gnuplot

10. question regarding the use of colors in gnuplot

11. Questions Regarding Gnuplot (the rotate hack that is)

12. Questions Regarding Gnuplot

13. Info regarding VIsualization 93