From help-octave-request at bevo dot che dot wisc dot edu Fri May 28 04:34:09 1999 Subject: Re: Save a plot to .ps From: Thomas Hoffmann To: Daniel dot Heiserer at bmw dot de Cc: help-octave at bevo dot che dot wisc dot edu Date: Fri, 28 May 1999 11:33:13 +0200 (METDST) > That is not what I meant. Printing could still be done by an m-file > which comes/comes-not whith octave. > > Can I find out which terminal gnuplot is using? > If yes, that would be really easy. It depends. You can ask for the active terminal with "gshow terminal", e.g.: octave:2> terminal type is x11 Typical "screen terminals" are x11 or pm (OS/2-PM). But maybe you just want to restore the terminal that was used immediately before issuing the print command. I do not know if it is possible to parse the gshow output in octave. Thomas.