home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / graphics / gnuplot / 578 next >
Encoding:
Text File  |  1992-12-22  |  1.8 KB  |  57 lines

  1. Newsgroups: comp.graphics.gnuplot
  2. Path: sparky!uunet!think.com!ames!elroy.jpl.nasa.gov!jato!math.jpl.nasa.gov!vsnyder
  3. From: vsnyder@math.jpl.nasa.gov (Van Snyder)
  4. Subject: Where to post/send changes/suggestions
  5. Message-ID: <1992Dec21.214049.23252@jato.jpl.nasa.gov>
  6. Sender: nobody@jato.jpl.nasa.gov
  7. Nntp-Posting-Host: math.jpl.nasa.gov
  8. Organization: Jet Propulsion Laboratory
  9. Date: Mon, 21 Dec 1992 21:40:49 GMT
  10. Lines: 45
  11.  
  12. Where is the *real* place to send comments about, or proposed
  13. code that implements changes to gnuplot?  I have gnuplot 3.1
  14. and 3.2.  3.2 says bug-gnuplot@ames.arc.nasa.gov, but that
  15. bounced.  3.1 says pixar!info-gnuplot@sun.com, which didn't
  16. bounce, but there was no reply to what I thought was a quite
  17. reasonable pair of suggestions.  I'll post them here:
  18.  
  19. First, I added a "reread" command that says "if you're reading
  20. a command file (due to a 'load' command), rewind it."  This
  21. is nifty for animation.  E.g., I made a command file that
  22. contains
  23.  
  24. zrot=(zrot+10)%360
  25. set view xrot,zrot
  26. replot
  27. reread
  28.  
  29. Minor changes were required in command.c near line 334:
  30.  
  31.         else if (almost_equals(c_token,"rer$ead")) {
  32.                 fp = lf_top();
  33.                 if (fp != (FILE *)NULL) rewind(fp);
  34.                 c_token++;
  35.         }
  36.  
  37. and misc.c near line 82:
  38.  
  39. FILE *lf_top();
  40.  
  41. and line 731:
  42.  
  43. FILE *lf_top()
  44. {   if (lf_head == (LFS *) NULL) return((FILE *)NULL);
  45.     return(lf_head->fp);
  46. }
  47.  
  48.  
  49. Then I noticed that when one is using x11 for the output, the
  50. plot window doesn't get topped when one plots into it.  So I
  51. added "XMapRaised(dpy, win);" at about line 210 in
  52. gnuplot_x11.c  This puts the plot window on top of the stack,
  53. but doesn't change the keyboard focus.
  54. -- 
  55. What fraction of Americans believe   |  Van Snyder
  56. Wrestling is real and NASA is fake?  |  vsnyder@math.jpl.nasa.gov
  57.