help-octave
[Top][All Lists]
Advanced

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

Octave 3.6.4 Issue


From: Shawn Yarnell
Subject: Octave 3.6.4 Issue
Date: Thu, 9 Jan 2014 20:53:44 -0600

Hi,

I recently became interested in playing with some machine learning algorithms and have chosen Octave as my means of doing so.

I am running Windows 7. I have extracted the entire zip to C:\Octave\. I ran octave and did the following commands:

>> y = plot(rand(5,5));
>> print -djpg test.jpg

I get an error on the print command. I ran the command again with debug flag, and get the following:

>> print -djpg -debug test1.jpg
Ghostscript command: 'C:\octave\3.6.4\Octave3.6.4_gcc4.6.2\gs\bin/gswin32c.exe -dQUIET -dNOPAUSE -dBATCH -dSAFER -sDEVIC
E=jpeg -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -r150x150 -dEPSCrop -sOutputFile=test1.jpg -'
fltk-pipeline: 'C:\octave\3.6.4\Octave3.6.4_gcc4.6.2\gs\bin/gswin32c.exe -dQUIET -dNOPAUSE -dBATCH -dSAFER -sDEVICE=jpeg
 -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -r150x150 -dEPSCrop -sOutputFile=test1.jpg -'
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   %oparray_
pop   --nostringval--   1915   1   3   %oparray_pop   1803   1   3   %oparray_pop   --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

I saw someone online suggesting trying something with eps files, but i get the same issues with those commands. That was the only useful thread I saw, and it got off subject quickly as the OP stopped responding.

I can execute any other commands that may be useful. I also tried installing all the packages that came with the 7zip file and to no avail. 

Thanks in advance for the help!

Shawn Yarnell

reply via email to

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