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

  1. Newsgroups: comp.graphics.gnuplot
  2. Path: sparky!uunet!newsgate.watson.ibm.com!yktnews!admin!yktnews!dwabra
  3. From: dwabra@watson.ibm.com (David Abraham)
  4. Subject: Re: How to automatically place gnuplot window (Unix)?
  5. Sender: news@watson.ibm.com (NNTP News Poster)
  6. Message-ID: <DWABRA.92Nov5102159@indigo.ibm.com>
  7. In-Reply-To: rvenable@helix.nih.gov's message of Thu, 5 Nov 1992 05:13:42 GMT
  8. Date: Thu, 5 Nov 1992 15:21:59 GMT
  9. Distribution: comp
  10. Disclaimer: This posting represents the poster's views, not necessarily those of IBM
  11. References: <DWABRA.92Nov3190017@indigo.ibm.com> <1992Nov5.051342.16622@alw.nih.gov>
  12. Nntp-Posting-Host: indigo.watson.ibm.com
  13. Organization: IBM, Yorktown Heights, NY 10598
  14. Lines: 33
  15.  
  16. In article <1992Nov5.051342.16622@alw.nih.gov> rvenable@helix.nih.gov (Richard M. Venable) writes:
  17.  
  18.    When using gnuplot 3.2 with the X11 (or x11) term devices, you can pass X
  19.    toolkit options as additional command line arguments when invoking gnuplot,
  20.    e.g. assuming 'file.gnu' contains a gnuplot command stream:
  21.  
  22.    gnuplot -font 8x13bold -geometry 900x500+100+20  file.gnu
  23.  
  24.    When a plot window is opened by a plot, splot, or replot command using one of
  25.    the X term devices, it will be 900x500 pixels, offset from the left by 100
  26.    pixels, and 20 pixels from the top.  The + signs may be changed to - signs to
  27.    indicate offsets from the right and bottom edges of the screen.  The text will
  28.    use the 8x13bold fixed font.  These kinds of options may also be loaded into
  29.    a database read by the X server on the host used for displaying the plot using
  30.    the  xrdb  command; see the gnuplot man page for suggested defaults.
  31.  
  32. Good general advice!  I also found out from several people responding
  33. privately to my previous post (you know who you are!) that the window
  34. manager is responsible for such preferences
  35. as whether you click a window into being, colors,
  36. opacity and other goodies.  On my machine (SGI Iris 4D35 running 4.01
  37. IRIX) I change a line in /usr/lib/X11/app-defaults/4DWm to read:
  38.  
  39. *interactivePosition:   false
  40.  
  41. This sets the local display to always behave that way.  In fact, until
  42. I did this explicit entries in my .Xdefaults file as to position of
  43. the gnuplot window did NOT work!  
  44.  
  45. --
  46. David Abraham            dwabra@watson.ibm.com
  47. IBM T.J. Watson Research Laboratory
  48. (914) 945-2573
  49.