On Sat, Aug 30, 2008 at 11:27:58AM -0700, David Arnold wrote:
> All,
> 
> octave-3.0.1:222> ver
> ----------------------------------------------------------------------
> GNU Octave Version 3.0.1
> GNU Octave License: GNU General Public License
> Operating System: Darwin 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct  
> 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh
> ----------------------------------------------------------------------
> 
> In attempting to print an image to a pdf file, I get the following  
> errors:
> 
> 
> octave-3.0.1:221> print -dpdf foo.pdf
> 
> gnuplot> set terminal pdf color enhanced;
>                        ^
>           line 0: unknown or ambiguous terminal type; type just 'set  
> terminal' for a list

Your gnuplot doesn't support PDF.

> Any suggestions?

Get a gnuplot with PDF support, either by
a) Compiling it yourself and link with pdflib
b) Compiling a CVS snapshot (PDF support with Cairo)
c) Use eps and invoke epstopdf

http://linux.derkeiler.com/Mailing-Lists/Debian/2006-07/msg01827.html
for c)

        Thomas

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Octave-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to