help-octave
[Top][All Lists]
Advanced

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

Re: Fwd: can not get octave to plot - posting again


From: Jaroslav Hajek
Subject: Re: Fwd: can not get octave to plot - posting again
Date: Tue, 25 Aug 2009 08:53:29 +0200

On Mon, Aug 24, 2009 at 5:46 AM, Nasreddin
Hodja<address@hidden> wrote:
>
> Thank you for your responses. Ben's suggestion actually makes an empty plot
> box pop - I did not have that before... But the plot window is blank and the
> error I get is still the same.
>
> octave-3.2.2:1> setenv ("GNUTERM", "x11")
> octave-3.2.2:2> plot(1:10)
>
> error: __gnuplot_get_var__: Can not make fifo (No such file or directory)
> error: called from:
> error:
> /Applications/Octave.app/Contents/Resources/share/octave/3.2.2/m/plot/__gnuplot_get_var__.m
> at line 69, column 7
> error:
> /Applications/Octave.app/Contents/Resources/share/octave/3.2.2/m/plot/__go_draw_axes__.m
> at line 39, column 18
> error:
> /Applications/Octave.app/Contents/Resources/share/octave/3.2.2/m/plot/__go_draw_figure__.m
> at line 93, column 3
> error:
> /Applications/Octave.app/Contents/Resources/share/octave/3.2.2/m/plot/gnuplot_drawnow.m
> at line 88, column 5
>
>
> I tried Leo's suggestion as well...Created a .octaverc and pasted the line:
> gnuplot_binary("/Applications/Gnuplot.app/Contents/Resources/bin/gnuplot")
> in it. The behavior is the same. So I assume location of gnuplot is known by
> octave, but not really sure... When I do not type setenv ("GNUTERM", "x11")
> I do get a pop up blank plot window but when I do, again the error is:
>
> octave-3.2.2:1>        setenv ("GNUTERM", "x11")
> octave-3.2.2:2> plot(1:10)
> error: __gnuplot_get_var__: Can not make fifo (No such file or directory)
> error: called from:
> error:
> /Applications/Octave.app/Contents/Resources/share/octave/3.2.2/m/plot/__gnuplot_get_var__.m
> at line 69, column 7
> error:
> /Applications/Octave.app/Contents/Resources/share/octave/3.2.2/m/plot/__go_draw_axes__.m
> at line 39, column 18
> error:
> /Applications/Octave.app/Contents/Resources/share/octave/3.2.2/m/plot/__go_draw_figure__.m
> at line 93, column 3
> error:
> /Applications/Octave.app/Contents/Resources/share/octave/3.2.2/m/plot/gnuplot_drawnow.m
> at line 88, column 5
>
> just to check at the end:
> octave-3.2.2:3> gnuplot_binary
> ans = /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot
>
>
> Any other thoughts?
>
> Thanks,
> --tolga
>
>

Maybe you're just missing write access to /tmp (or whatever OSX uses
for temporary directory)?
P_tmpdir returns the directory that needs to be writable by you.

hth

-- 
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz



reply via email to

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