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: ossands
Subject: Re: problem with printing graphics to file Octave 3.6.4, manual install, windows
Date: Tue, 21 May 2013 19:34:51 -0700 (PDT)

Here's a diary of the plot/print commands with the debug flag enabled
octave:6> plot(rand(40,3))
octave:7> print -depsc -debug lkj.eps
epstool command: 'C:\Octave\Octave3.6.4_gcc4.6.2\gs\bin/gswin32c.exe -dQUIET -dNOPAUSE -dBATCH -dSAFER -sDEVICE=epswrite -sOutputFile="lkj.eps" -'
fltk-pipeline: 'C:\Octave\Octave3.6.4_gcc4.6.2\gs\bin/gswin32c.exe -dQUIET -dNOPAUSE -dBATCH -dSAFER -sDEVICE=epswrite -sOutputFile="lkj.eps" -'

he other error messages follow as before (i.e. Error: /undefined in nan
Operand stack:...). These messages do not, however, show up in the diary file. Additionally, I can't seem to ^C/^V them into a window. I've had to transcribe them by hand in the past posting. They are, pretty-much as I reported and I'd guess that the differences have to do with my transcription skills. I can get a little more anal with the transcription of these messages if you think that would help. 

The gswin32c executable is there, as promised. Same result with graphics_toolkit('gnuplot') and graphics_toolkit('fltk')

oss



On Tue, May 21, 2013 at 9:50 PM, Abbott, Ben-2 [via Octave] <[hidden email]> wrote:

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

> On Tue, May 21, 2013 at 9:05 PM, Ben Abbott <[hidden email]> wrote:
>> On May 19, 2013, at 04:07 PM, Obed Sands <[hidden email]> 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


_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave



If you reply to this email, your message will be added to the discussion below:
http://octave.1599824.n4.nabble.com/problem-with-printing-graphics-to-file-Octave-3-6-4-manual-install-windows-tp4653129p4653230.html
To unsubscribe from problem with printing graphics to file Octave 3.6.4, manual install, windows, click here.
NAML



View this message in context: Re: problem with printing graphics to file Octave 3.6.4, manual install, windows
Sent from the Octave - General mailing list archive at Nabble.com.

reply via email to

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