[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: running plot scripts remotely
From: |
Søren Hauberg |
Subject: |
Re: running plot scripts remotely |
Date: |
Sat, 13 Dec 2008 22:24:36 +0100 |
lør, 13 12 2008 kl. 19:18 -0200, skrev oxy:
> i want to run scripts remotely to to make some plots that
> i will transfere to see localy. The plot commands require
> an X connection which i do not have (no X forwarding).
> Thus i get an error.
>
> Is there a way to plot without using X connection at all?
> I just want to print them to eps files.
When you create figures, set them to non-visible:
figure ("visible", "off")
plot (sin (linspace (0, 2*pi, 100)))
print some_file.eps
(code untested)
Søren