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: Thomas Weber
Subject: Re: How do I plot to file only on octave-3 (ie. no X11)
Date: Thu, 3 Jul 2008 22:41:20 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

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

        Thomas


reply via email to

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