|
From: Michael A. K. <ma...@ll...> - 2004-12-17 13:00:25
|
Ethan Merritt wrote: > On Thursday 16 December 2004 10:40 am, Jacques Bouchard wrote: > >>I wish to use gnuplot to open several x11 terminals, and to change the >>active terminal interactively (with a mouse click for example), in order >>to be able to rescale the plot with the mouse (right clicks). The SAVE command might be useful. In the past I used "save x11-fig-NN.cmd", then moved on to my other plots. When I wanted window NN I could use a "load x11-fig-NN.cmd" to get the window back. I would wrap this procedure in a OPEN-FIGURE command that would do all the book-keeping for me. See below example. Hope this helps. -- --------------------- Dr Michael A. Koerber x3250 # EXAMPLE OF SAVE/LOAD FOR MULTIPLE X11 TERMS reset set term x11 2 set parametric plot t,sin(t) save "x11-fig-02.cmd" set term x11 3 set grid plot t,exp(-t)*sin(t) save "x11-fig-03.cmd" # Note that the SAVE command in at least # G N U P L O T # Version 4.0 patchlevel 0 # last modified Thu Apr 15 14:44:22 CEST 2004 # System: FreeBSD 4.10-RELEASE # comments out the SET TERM and SET OUTPUT lines. # These must be respecified, or a new terminal specified. set term x11 5 load 'x11-fig-02.cmd' set term x11 6 load 'x11-fig-03.cmd' |