octave> plot (t,x) octave> gset term postscript octave> gset output "foo.ps" octave> replot octave> gset term X