help-octave
[Top][All Lists]
Advanced

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

Re: How do I plot to file only on octave-3 (ie. no X11)


From: Shaun Jackman
Subject: Re: How do I plot to file only on octave-3 (ie. no X11)
Date: Thu, 03 Jul 2008 16:14:51 -0700
User-agent: Thunderbird 2.0.0.14 (X11/20080421)

Thomas Weber wrote:
On 03/07/08 13:29 +0300, emil Karlson wrote:
Good evening

I was  wondering is it possible to plot to file only on octave-3, or
plot to NULL and then print as usual.

On octave-2 this was easy with gset terminal ps and such.

This is relevant because:
1) I may want multiple plots for animations.
2) I may want to work over ssh and X is very slow in these situations.

As this comes up once in a while, I've added it to the FAQ on the wiki:

        figure(1, "visible", "off");
        plot(sin(1:100));
        print -deps "/tmp/sin.eps"

http://wiki.octave.org/wiki.pl?CategoryFAQ

Is it possible to set "visible", "off" as the default for all further figures?

Cheers,
Shaun



reply via email to

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