help-octave
[Top][All Lists]
Advanced

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

Re: Octave 3.6.4 Issue


From: nitnit
Subject: Re: Octave 3.6.4 Issue
Date: Fri, 10 Jan 2014 00:13:38 -0800 (PST)

Similar problem has been reported in the past
(http://octave.1599824.n4.nabble.com/problem-with-printing-graphics-to-file-Octave-3-6-4-manual-install-windows-td4653129.html#a4654326)

It seems that it has been caused by some numerical values which ghostscript
couldnt handle while converting the graphics. From your reported error
message it seems that such 'nan' values might the cause for the problem you
are facing.

You can try verifying that by producing an eps file file and checking its
conetents with a text editor:
Type and execute:

print -depsc test.eps

Ignore reported errors if any, see if a test.eps file has been produced and
use any text editor to open it and see if it has some odd characters such as
'nan'.

Although no solution or actual cause for that problem has been found by the
other user who has started the thread in the link above (he has switched to
VC based octave version) , you can try either of the following:

1. Change your graphics toolkit to 'gnuplot'.
After launching octave and before producing any graphics, run

graphics_toolkit('gnuplot')

Try to reproduce the figure and see if it prints out.

2. Upgrade to recent version of ghostscript

Download http://downloads.ghostscript.com/public/gs910w32.exe
Use an archive tool such as 7zip
(http://downloads.sourceforge.net/sevenzip/7z920.exe) to open the downloaded
gs910w32.exe file, and extract its $_OUTDIR contents (complete subdir
structure) to C:\Octave\Octave3.6.4_gcc4.6.2\gs, replacing the existing
subdirs and files (it might be better to delete the existing
C:\Octave\Octave3.6.4_gcc4.6.2\gs subdirs and files before extracting the
newer version).

Launch octave, try to reproduce the figure and see if it prints out.


Nitzan




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Octave-3-6-4-Issue-tp4660890p4660898.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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