[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gset does not work + cannot save plots in Octave 2.9.9
From: |
Ben Abbott |
Subject: |
Re: gset does not work + cannot save plots in Octave 2.9.9 |
Date: |
Sun, 8 Jul 2007 10:30:08 -0700 (PDT) |
Ayesha Kalra wrote:
>
> Hi
>
> I am using Octave 2.9.9 and was trying to save my plot is .ps format but
> the
> command gset is not working. I cannot set terminal to postscript.
>
> 'gset term postscript' gives
>
> parse error:
>
> syntax error
>
>>>> gset term
>
> I read somewhere that gset is now obsolete. Is there any other way to save
> plots in a file (preferably ps or pdf formats)?
>
> Thanks
> Ayesha
>
>
Check out "help print" at the octave command line. The syntax is very
similar (same?) to Matlab
Something like the line below should do what you want.
print('filename.ps',-color','-dps2')
--
View this message in context:
http://www.nabble.com/gset-does-not-work-%2B-cannot-save-plots-in-Octave-2.9.9-tf4045231.html#a11490736
Sent from the Octave - General mailing list archive at Nabble.com.