Groups | Search | Server Info | Keyboard shortcuts | Login | Register
Groups > comp.graphics.apps.gnuplot > #203
| From | sfeam <sfeam@users.sourceforge.net> |
|---|---|
| Newsgroups | comp.graphics.apps.gnuplot |
| Subject | Re: How to re-use the same output device/xterm each time gnuplot is invoked? |
| Followup-To | comp.graphics.apps.gnuplot |
| Date | 2011-04-01 10:54 -0700 |
| Organization | gnuplot development team |
| Message-ID | <in53hi$r4g$1@dont-email.me> (permalink) |
| References | <in3j2j$og8$1@speranza.aioe.org> <in4prt$fs8$1@speranza.aioe.org> |
Followups directed to: comp.graphics.apps.gnuplot
Nasser M. Abbasi wrote: >> So, basically I want the gnuplot script to do something like >> >> -------------------- >> IF window_ID allready exist, then send all output to it else create a >> new window and assign it window_ID make plot to window_ID >> --------------------- >> >> Any ideas how to do this, or even if it possible? It is possible. See "help set term x11" From the manual: The `x11` terminal can connect to X windows previously created by an outside application via the option `window` followed by a string containing the X ID for the window in hexadecimal format. Gnuplot uses that external X window as a container since X does not allow for multiple clients selecting the ButtonPress event. In this way, gnuplot's mouse features work within the contained plot window. I suspect that is an overly complicated way of achieving the effect you want, but it's certainly one possible approach. Another possible approach is to have each CALL SYSTEM(...) trigger an update of an *.eps or *.png file on disk. Then you just leave ghostview or an image display program running continuously, set to update the screen display whenever the underlying file is re-written. Ethan
Back to comp.graphics.apps.gnuplot | Previous | Next — Previous in thread | Next in thread | Find similar
How to re-use the same output device/xterm each time gnuplot is invoked? "Nasser M. Abbasi" <nma@12000.org> - 2011-03-31 21:07 -0700
Re: How to re-use the same output device/xterm each time gnuplot is invoked? geep <geep@boursomail.com> - 2011-04-01 15:09 +0000
Re: How to re-use the same output device/xterm each time gnuplot is invoked? sfeam <sfeam@users.sourceforge.net> - 2011-04-01 10:54 -0700
Re: How to re-use the same output device/xterm each time gnuplot is invoked? James Waldby <not@valid.invalid> - 2011-04-01 16:41 +0000
csiph-web