help-octave
[Top][All Lists]
Advanced

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

Re: another "gset term" replacement question


From: Ben Abbott
Subject: Re: another "gset term" replacement question
Date: Tue, 29 Sep 2009 15:58:52 -0400

On Tuesday, September 29, 2009, at 01:28PM, <address@hidden > wrote:

I often have a need to run octave scripts in the background, sometimes scripts that make plots. With octave 2.x, I would preceed any such plotting with "gset term postscript".

Now that gset is gone, I do the plotting and the use "print -dpsc" to put it into a postscript file. But if I try to run such a script in background, it hangs when it gets to the plotting.

How can I direct the script to make the plot postscript in the first place? Or is there any other way to stop it from hanging? Is there any way to control where octave's invocation of gnuplot tries to put the plot?

Thanks,
Dave Cottingham

To produce a postscript output ...

        print -dpsc file.ps

To suspend generation of figures on screen, you can try ...

        close all
        set (0, "defaultfigurevisible", "off")

To continue with plots to the screen ...

        close all
        set (0, "defaultfigurevisible", "on")

Ben





reply via email to

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