Example plot in Manual lacks text

Ben Abbott bpabbott at mac.com
Mon Apr 6 15:02:19 CDT 2009


On Monday, April 06, 2009, at 01:40PM, "Michael D. Godfrey" <godfrey at isl.stanford.edu> wrote:
>Also, are you aware that print("xxx.pdf")
>is not working?  This could be done by using
>eps for gnuplot output and piping it through
>ghostscript.
>
>

I've pull and produced a fresh build.

octave:1> plot(1:10)
octave:2> print('xxx.pdf')
error: __gnuplot_get_var__: Can not open fifo ()
error: called from:
error:   /Users/bpabbott/Development/mercurial/local_clone/scripts/plot/__gnuplot_default_font__.m at line 33, column 8
error:   /Users/bpabbott/Development/mercurial/local_clone/scripts/plot/__go_draw_figure__.m at line 58, column 25
error:   /Users/bpabbott/Development/mercurial/local_clone/scripts/plot/gnuplot_drawnow.m at line 89, column 5
octave:3> print('xxx.pdf')
error: __gnuplot_get_var__: Can not open fifo ()
error: called from:
error:   /Users/bpabbott/Development/mercurial/local_clone/scripts/plot/__gnuplot_default_font__.m at line 33, column 8
error:   /Users/bpabbott/Development/mercurial/local_clone/scripts/plot/__go_draw_figure__.m at line 58, column 25
error:   /Users/bpabbott/Development/mercurial/local_clone/scripts/plot/gnuplot_drawnow.m at line 89, column 5
octave:4> print('xxx.pdf')
octave:5> 
octave:5> print('xxx.pdf')

Notice I encounted two errors with respect to fifo.

Michael, did you encounter the same error? ... and on what OS?

I've seen this several times. But it only happens once or twice and then disappears. For example, after the success on the 3rd attempt above I quite and started again ...

octave:1> plot(1:10)
octave:2> print("xxx.pdf")
octave:3> quit

No problem this time!

I have yet to correlate this annoyance with anything repeatable.

Ben




More information about the Bug-octave mailing list