help-octave
[Top][All Lists]
Advanced

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

Re: can not get octave to plot - posting again


From: Ben Abbott
Subject: Re: can not get octave to plot - posting again
Date: Sun, 23 Aug 2009 18:06:08 -0400


On Aug 23, 2009, at 5:51 PM, Nasreddin Hodja wrote:

I hope this one goes through...

Thanks in advance,
--tolga


---------- Forwarded message ----------
From: Nasreddin Hodja <address@hidden>
Date: Sat, Aug 22, 2009 at 10:16 PM
Subject: can not get octave to plot
To: address@hidden


Hello all,

My OS: Mac OSX 10.5.6
My Octave version: 3.2.2
My GnuPlot version: 4.2.5

I installed both GnuPlot and Octave. Also installed control toolbox for octave, which works fine...

But when I try to use the “plot” function in Octave I get the following error pasted below:

FYI: I run X11 beforehand and I already set the DISPLAY to 0.0 in my .zshrc. The gnuterm is set to aqua (no idea what that is but it should be ok, as I followed many threads on this - though i don't think it changes anything when I set it to x11)

ERROR is:

octave-3.2.2:1> 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

Could you offer any help?

Thanks,
--tolga


Did you install AquaTerm as well?

If you have not install Aquaterm, please do try starting x11 and then from Octave's prompt ...

        setenv ("GNUTERM", "x11")
        plot (1:10)

If you get a plot, all you should need to do is install Aquaterm or set the GNUTERM environment to "x11".

Ben





reply via email to

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