home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / graphics / gnuplot / 295 < prev    next >
Encoding:
Text File  |  1992-11-05  |  1.6 KB  |  43 lines

  1. x-gateway: rodan.UU.NET from info-gnuplot to comp.graphics.gnuplot; Thu, 5 Nov 1992 12:18:35 EST
  2. Via: uk.ac.essex; Thu, 5 Nov 1992 17:15:32 +0000
  3. From: oakli@essex.ac.uk (Oakley I G)
  4. Date: Thu, 5 Nov 1992 17:05:47 GMT
  5. Message-ID: <16090.9211051705@SunLab41.essex.ac.uk>
  6. Subject: GNUPLOT An Interactive Plotting Program v.3.2
  7. Newsgroups: comp.graphics.gnuplot
  8. Path: sparky!uunet!wendy-fate.uu.net!info-gnuplot
  9. Sender: info-gnuplot-request@arc.nasa.gov
  10. Lines: 31
  11.  
  12. To whoever reads this message!
  13.  
  14. I have taken the above email address from the cover of the GNUPLOT 3.2 manual
  15. in the hope that the recipiant can help me.
  16.  
  17. As part of my final year project here at Essex University, U.K. I am intending
  18. on using Gnuplot to display various data that my 'C' program will produce.
  19.  
  20. What I would like to be able to do is execute Gnuplot from within my 'C' code
  21. so that it can be used as an interactive part of the program bringing up a
  22. Gnuplot window displaying any data set chosen by the user.
  23.  
  24. I am currently not sure if this is possible (although I have a few basic ideas)
  25. so I would appreciate you telling me how to go about doing it (with some 
  26. example code maybe).  I know there is a library routine system() which allows
  27. commands to be executed as if they were typed from the shell.  When using this command and piping in a datafile, the Gnuplot window only appears very briefly
  28. despite the use of 'pause -1' in the datafile.
  29.  
  30. I am currently using SUN SPARCstations running an X-window environment with
  31. the UNIX operating system.
  32.  
  33. Thanking you in advance of your early reply.
  34.  
  35.  
  36. Ian Oakley.
  37.  
  38. 3rd Yr Undergraduate.
  39. University of Essex,
  40. COLCHESTER, England. U.K.
  41.  
  42. email : oakli@uk.ac.essex
  43.