help-octave
[Top][All Lists]
Advanced

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

Re: plot to file


From: Shai Ayal
Subject: Re: plot to file
Date: Wed, 07 Dec 2005 19:37:42 +0200
User-agent: Thunderbird 1.5 (X11/20051025)



Gert Van den Eynde wrote:
Shai Ayal wrote:
Gert Van den Eynde wrote:

Hi all,

I'm using octave from cvs. What is the advised way to plot to a file? In "the old days", this was connecting to gnuplot with gset term png gset output "file.png" etc... When I use gset now, I get a warning that it will be deprecated in Octave 3.0... What should I use to guarantee compatibility?


print


Could you provide an example, please? From "help print" it is not clear to me how I can tell octave what figure to print... One extra point: I'm running on a cluster node that doesn't forward X, so my job runs in batch and should, at the end, produce a plot in a file....

in this case case, if you want no-X than you should probably use gnuplot directly, maybe using the approach that john uses -- use octave to do the calculations ans output the results to a file, and then use gnuplot to produce graphs from the files. gnuplot can produce files in a variety of formats without any X necessary

Shai





-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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