help-octave
[Top][All Lists]
Advanced

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

Re: export plot


From: Geraint Paul Bevan
Subject: Re: export plot
Date: Wed, 26 Nov 2003 15:41:54 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Joerg Schreiber wrote:
| Hi everybody,
|
| how can I export a plot-figure?
|
| In win2000-version there is a "copy to clipboard" in the
| gnuplot-window-menu,
| under linux i have not found anything.
|
| print -djpg e.g. had no result.
|
|

You can save plots to file by making use of the gnuplot command "set
output" and "set terminal":

octave> plot ( sin ( -10:0.1:10 ) )
octave> gset terminal postscript eps color
octave> gset output 'plot.eps'
octave> replot

The file 'plot.eps' should then contain an encapsulated postscipt of
your plot. See the gnuplot documentation for "set terminal" for more
options.


- --
Geraint Bevan
http://www.mech.gla.ac.uk/~gbevan

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iEYEARECAAYFAj/EycEACgkQcXV3N50QmNPJPQCghV6VXdFB+5parJYJmKJxA6m6
n0AAniwAFoaUe1ryLk/NpGJHL/4rpyCl
=o/oC
-----END PGP SIGNATURE-----



-------------------------------------------------------------
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]