help-octave
[Top][All Lists]
Advanced

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

Re: problem with printing graphics to file Octave 3.6.4, manual install,


From: Abbott, Ben
Subject: Re: problem with printing graphics to file Octave 3.6.4, manual install, windows
Date: Wed, 22 May 2013 01:49:11 +0000

On May 22, 2013, at 9:39 AM, Obed Sands wrote:

> On Tue, May 21, 2013 at 9:05 PM, Ben Abbott <address@hidden> wrote:
>> On May 19, 2013, at 04:07 PM, Obed Sands <address@hidden> wrote:
>> 
>>> I did the manual install for windows, as described sourceforge/ Octave 
>>> Forge (c.f. 
>>> http://sourceforge.net/projects/octave/files/Octave%20Windows%20binaries/)
>>> 
>>> 
>>> Things seem to be working o.k. and Gnuplot seems to be in place as 
>>> 
>>> octave:1>plot(rand(40,3))
>>> 
>>> produces a good result but
>>> 
>>> octave:2>print -djpg 'lkj.jpg'
>>> 
>>> gives an error:
>>> 
>>> Error: /undefined in nan
>>> Operand stack:
>>>    --nostringval--
>>> Execution Stack:
>>>    %interp_exit   .runexec2 --nostringval--   --nostringval--   
>>> --nostringval--  2   %stopped_push  --nostringval--  --nostringval-- 
>>> --nostringval--    false   1   %stopped_push   1932  1 3  %oparray_pop   
>>> 1931  1   3  %opparay_pop   --nostringval--  1915   1  3   %opparay_pop   
>>> 1803  1  3  --nostringval--   %errorexec_pop   .runexec2  --nostringval--   
>>> --nostringval--  --nostringval--  2  %stopped_push  --nostringval--
>>> Dictionary stack:
>>>     --dict:1179/1684(ro)(G)--   --dict:0/20(G)--   --dict:82/200(L)--   
>>> --dict:40/64(L)--
>>> Current allocation mode is local
>>> Last OS error: No such file or directory
>>> GPL  Ghostscript  9.07:  Unrecoverable error, exit code 1
>>> octave:3>
>>> 
>>> Any ideas will be appreciated,
>>> 
>>> Scott Sands
>>  
>> That ghostscript is being called indicates that Octave thinks it has 
>> produced an eps-file.  Please verify that eps output is working for you.
>> 
>>     print -depsc test.eps
>> 
>> If that works, please tell us what Octave returns with the debug flag.
>> 
>>     print -djpg -debug test.jpg
>> 
>> Ben
> 
>   Hello Ben,
> 
> specifying epsc as the target file type gives the same message.
> 
> eps output must not be working.
> 
> oss

What does Octave return when you add the "-debug" flag?

Please copy-n-paste what you typed and what Octave returned.

Ben




reply via email to

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