|
From:
<br...@ph...> - 2006-04-05 11:25:41
|
Shuxia Zhang wrote: > I tried to use gnuplot to disply a set of x-y plots > on ONE frame/window, instead of poping more windows. That's actually quite simple: you do that by not restarting gnuplot for every plot. You have to keep a gnuplot process open, and generate fresh plots by sending it new commands from time to time, typically through a pipe fed by another process. > gnuplot -persist -clear -tvtwm < fplot0 > gnuplot -persist -clear -tvtwm < fplot1 > gnuplot -persist -clear -tvtwm < fplot1 -persist is exactly the option you should not use. That's used to keep gnuplot's graph windows open indefinitely. That's working in the exact opposite direction of what you were trying to do. > where fplot0 contains > > plot "force.dat" using 1:2 title 'Column' with linespoints > save 'my.plt'; > > and fplot1 contains > > load 'my.plt'; > replot "force.dat" using 1:2 title 'Column' with linespoints That doesn't make any sense at all. That 'replot' doesn't achieve anything useful. |