octave-maintainers
[Top][All Lists]
Advanced

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

Re: wait_for_file ?? [print via pipes - help testing on Windows?]


From: bpabbott
Subject: Re: wait_for_file ?? [print via pipes - help testing on Windows?]
Date: Fri, 17 Sep 2010 18:48:26 +0000 (GMT)

On Sep 17, 2010, at 02:40 PM, "Michael D. Godfrey" <address@hidden> wrote:

Ben,

I just tried the gnuplot section and got:
octave:1> test_printing("gnuplot")
backend is gnuplot
print gnuplot-corel -dcorel
print gnuplot-dxf -ddxf
print gnuplot-eepic -deepic
print gnuplot-emf -demf
print gnuplot-epsc -depsc
print gnuplot-epslatex -depslatex
print gnuplot-gif -dgif
Could not find/open font when opening font 12, trying default
Could not find/open font when opening font "arial", using internal
non-scalable font
print gnuplot-hpgl -dhpgl
print gnuplot-jpg -djpg
Gnuplot does not have support for 'pdf' ... skipping.
Gnuplot does not have support for 'pdfcairo' ... skipping.
print gnuplot-png -dpng
Gnuplot does not have support for 'pngcairo' ... skipping.
print gnuplot-psc -dpsc
print gnuplot-psc -dpsc -append
print gnuplot-pstex -dpstex
print gnuplot-pstricks -dpstricks
print gnuplot-svg -dsvg
print gnuplot-texdraw -dtexdraw
Gnuplot does not have support for 'tikz' .. skipping.
octave:2> quit

========================
I have not checked all the outputs in detail, but they all seem
to be there.

I will try to capture more about the fltk case.

Michael
 
You can do things like ...

test_printing fltk -dpng -debug

... this will only produce png output for the fltk backend, and will display information regarding any system commands used for the pipes. If you encounter a hang, just ctrl-C and try again.

octave:1> test_printing fltk -dpng -debug
backend is fltk
print fltk-png  -dpng -debug
Ghostscript command: '/sw/bin/gs -dQUIET -dNOPAUSE -dBATCH -dSAFER -sDEVICE=png16m -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -r150x150 -dEPSCrop -sOutputFile=fltk-png.png -'
fltk-pipeline: '/sw/bin/gs -dQUIET -dNOPAUSE -dBATCH -dSAFER -sDEVICE=png16m -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -r150x150 -dEPSCrop -sOutputFile=fltk-png.png -'
octave:2> 

If you do encounter a hang, make sure there are no m-files in your pwd with the same name as those in ...scripts/plot/...

I don't know why local copies cause Octave to hang for me, but the good news is that I only get one hang per session.

Ben



reply via email to

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