help-octave
[Top][All Lists]
Advanced

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

Re: Saving a graph


From: Elie De Brauwer
Subject: Re: Saving a graph
Date: Tue, 25 Apr 2006 19:21:23 +0200
User-agent: Mail/News 1.5 (X11/20060228)

Gabriel F. Ideriha wrote:
 Hi!!
 I 'm starting to use octave and i need some help...
 I'm trying to save a graph that I ploted, but i can't!
It gives this error


octave:32> print ("'perfil'", "'-ps2'") % perfil is the name o the file
error: print: no format specified
error: evaluating if command near line 193, column 5
error: evaluating if command near line 191, column 3
error: called from `print' in file 
`/usr/share/octave/site/m/octave-forge/plot/print.m'


Where I'm making an error????
Thanks for the help!!!

Hello,

From 'help print':

    `-dDEVICE
          Output device, where DEVICE is one of:
         `ps'
         `ps2'
         `psc'
         `psc2'
               Postscript (level 1 and 2, mono and color)

So you probably mean:
octave:5> print("/tmp/output.ps","-dps2")
or print("perfil","-dps2") in your case.

hope this helps
E.

--
Elie De Brauwer



reply via email to

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