after the 1st 'replot' you are executing the 2nd 'plot' command,
so this plot is written to 'test1.eps' too. afterwards you set output to
'test2.eps', so the 2nd 'replot' writes into 'test2.eps'.
you don't need the 'replot' commands, just plot directly into
the eps-files:
set terminal postscript
set output "test1.eps"
plot "test1" using 1:2
set output "test2.eps"
plot "test2" using 1:2
set output
--
View this message in context: http://gnuplot.10905.n7.nabble.com/Save-multiple-plots-with-one-gnuplot-script-tp17362p17363.html
Sent from the Gnuplot - User mailing list archive at Nabble.com.
|