help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to know when gnuplot is finished


From: Dirk Eddelbuettel
Subject: Re: How to know when gnuplot is finished
Date: Wed, 1 Oct 1997 19:27:40 -0400 (EDT)

Andy,

It is actually easier to let gnuplot do more of the work. The next two lines
tell it to use postscript, and to send the result directly to the printer
spooler:

        gset terminal postscript
        gset output "|lpr"

In fact, what I use is a simple function 'replotps.m' which has the two lines
above plus the lines

        replot
        
        gset terminal x11
        gset output

That way, I can interactively work on a graph. Once I like it, this function
redirects the output to the printer, replots the graphs and resets the
defaults of X11 graphics.

Hope that helps, Dirk

-- 
 address@hidden   http://rosebud.sps.queensu.ca/~edd   PGP KeyID 1024/6D7F08DD




reply via email to

[Prev in Thread] Current Thread [Next in Thread]