home *** CD-ROM | disk | FTP | other *** search
/ Peanuts NeXT Software Archives / Peanuts-Update.iso / CDROM / Contents / READMEs / Peanuts-2 / Unix / graphics / gnuplot_term.2.0.README < prev    next >
Encoding:
Text File  |  1996-11-09  |  1.4 KB  |  24 lines

  1.     This directory contains version 2 of the additional files you'll need 
  2. to get gnuplot3.0 to display it's postscript directly to a window instead of 
  3. going through the klunky process of writing the postscript to a file and 
  4. launching Previewer to view the file.  Note that all input is still done at the 
  5. shell level! Fancier NeXTStep interfaces will be a future project. 
  6.     This version is faster and leaner than the old method.  It also does
  7. not eat up swap space like the older version (this was particularly noticeable
  8. when doing animation-like plots).  To do this I used DPS function calls instead 
  9. of creating a NXImage and compositing the stream of commands. I based my code 
  10. on the program called "epsview" in the hackkit tar file on the archive servers.
  11.     The next_dps.trm (next terminal) is basically the post.trm (postscript 
  12. terminal) with the fprintf replaced by DPSPrintf and outfile by the 
  13. DPSContext d.  You'll also see that I also used some code (with modifications) 
  14. from David S. Joerg's MovieApp.  Using the DPS functions enabled me to slim
  15. down the EpsViewer.[hm] and EPSView.[hm] files.
  16.     No claim is made to code elegance or to it being a good example of
  17. objective-c coding.  This is my first (well, second, sort of) objective-c 
  18. program. It seems to work for me. Any constructive criticism would be 
  19. appreciated.  I can be reached at strobel@phast.phys.washington.edu
  20.  
  21. cheers!
  22.  
  23. nick strobel
  24.