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