|
From: sfeam (E. Merritt) <eam...@gm...> - 2011-10-22 18:36:03
|
On Saturday, 22 October 2011, Jonathan Thornburg wrote: > > set term foo > > > > set output 'plot1.foo' > > set title "Graphs AB" > > plot "A.dat" title "A", "B.dat" title "B" > > > > set output 'plot2.foo' > > set title "Graphs CDE" > > plot "C.dat", "D.dat", "E.dat" > > > > ... and so on for many plots > > > > I don't see the advantage in requiring that the terminal be > > re-opened between plots [[...]] > > Hmm. If you do this, (when) does 'plit1.foo' get closed? I was under > the impression that this only happened when the script explicitly said > 'set output' to close the current output file. It gets closed at the next 'set output', just as you say. set output 'plot1.foo' # close any previous output and open plot1.foo ... set output 'plot2.foo' # close plot1.foo and open plot2.foo Ethan |