home *** CD-ROM | disk | FTP | other *** search
- x-gateway: rodan.UU.NET from info-gnuplot to comp.graphics.gnuplot; Thu, 19 Nov 1992 01:39:42 EST
- Date: Wed, 18 Nov 1992 21:14:52 -0700
- From: dunkel@carbon.chem.utah.edu
- Message-ID: <9211190414.AA37670@carbon.chem.utah.edu>
- Subject: Several gnuplot_x11 windows on the screen?
- Newsgroups: comp.graphics.gnuplot
- Path: sparky!uunet!wendy-fate.uu.net!info-gnuplot
- Sender: info-gnuplot-request@arc.nasa.gov
- Lines: 47
-
- I use gnuplot 3.2 to display NMR spectra. The > 32 k points/plot make
- it very attractive to zoom in on several interesting spectral regions.
- Hence I would like to keep several expansions (gnuplot_x11 windows) on
- the screen.
-
- I wrote a program which does all the numerical stuff and for display
- purposes writes data files and various gnuplot command files like:
-
- 78> cat gnuplot_cmds
- ...
- plot "SQPhase" t" DQ phases" w errorbars,\
- "SQPLin" t" -1.334337 +.023084*f" w lines,\
- "SQPQuad" t" -1.431 +.0257*f-.000016*f^2" w lines,\
- "DQPhase" t" Shift phases" w errorbars,\
- "DQPLin" t" 3.918367 +.004473*f" w lines,\
- "DQPQuad" t" 3.636 +.0238*f-.000276*f^2" w lines
- pause 10000000
-
- and then calls "gnuplot gnuplot_cmds&" as often as necessary (...time
- for a coffee break). No, I don't like a "pause 3600". I would like to
- remove the gnuplot windows myself when I am sure I don't need them any
- more. Well, the command file works except that the most convenient
- way to get rid of these windows is to use the window manager (mwm,
- RS/6000-320, AIX 3.2, X11R4) to close them. That kills the
- "gnuplot_x11" processes but the "gnuplot" processes survive and fill
- up the process table:
-
- ps augx | egrep gnuplot
- xccbond 11765 0.0 1.0 180 264 pts/2 S 18:48:27 0:00 gnuplot gnuplot_c
- xccbond 14380 0.0 1.0 184 264 - S 19:01:49 0:00 gnuplot gnuplot_c
- ...
-
- Is there a way to initiate the display of several gnuplot display
- windows simultaneously from another program without producing all
- these dead processes when the display windows get closed?
-
- Thanks
- __ _
- | ) o | | | \ | |
- | / _ |_ _ _ _| | | | _ |
- |/\ /_) | ^ ^ | | _) | / | | | | | ^ ^ |_) /_) |
- | \_/\___|_| | |_| |_(_|__|___\_| |_/__|_|_| | |_| \_/\___|
-
- Department of Chemistry Office: (801) 581-7351
- 2020 Henry Eyring Building b113 Home: (801) 582-7516
- University of Utah FAX: (801) 581-8433
- Salt Lake City, UT 84112 dunkel@chemistry.chem.utah.edu
-