[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Saving plots
From: |
Etienne Grossmann |
Subject: |
Re: Saving plots |
Date: |
Tue, 31 Jul 2001 08:10:21 GMT |
Example plot :
x = linspace (-5,5,20); y = sin (x-3) + 0.1*randn(1,20); plot (x, y)
Saving it to .ps :
gset term postscript; gset out "foo.ps"; replot; gset term x11;
Viewing it :
system ("gv foo.ps")
Saving it to .fig :
gset term fig; gset out "foo.fig"; replot; gset term x11;
The 'gset term x11' at the end is just so that future plots get
displayed on the screen.
Do 'info gnuplot' (from a shell, or C-H-i in emacs) for more saving
options.
Hth,
Etienne
-------------------------------------------------------------
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
-------------------------------------------------------------
- Saving plots, James Howard, 2001/07/30
- Re: Saving plots,
Etienne Grossmann <=