help-octave
[Top][All Lists]
Advanced

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

Re: Install 2.9.3 - problems with gnuplot


From: Ron Crummett
Subject: Re: Install 2.9.3 - problems with gnuplot
Date: Sun, 30 Oct 2005 16:27:14 -0800
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050716)

Dmitri A. Sergatskov wrote:
On 10/30/05, Ron Crummett <address@hidden> wrote:
  
It looks as though what happened is that I installed xcas on my machine,
which automatically added a patch to gnuplot.  I am in the process of
figuring out what step to take now:

-removing and reinstalling gnuplot does nothing
    

I suspect that xcas installs gnuplot into /usr/local/bin
and you are re-installing gnuplot to /usr/bin

  
Okay, it looks like this might be the case.
You can set variable gnuplot_binary (in .octaverc)
to point to the unpatched gnuplot (/usr/bin/gnuplot).
I.e. in the file .octaverc add the line:
Just out of curiosity, is my .octaverc file supposed to be in my default directory (/home/me)?  I didn't see one there but created one and it seems to load up when I start octave.  I was just wondering if it is created by default or not.
gnuplot_binary="/usr/bin/gnuplot "

  
Okay, done.  Now when I start up octave, here is what happens:

gnuplot_binary = /usr/bin/gnuplot
octave:1> x = 0:10;
octave:2> plot(x);
sh: line 1: /usr/bin/gnuplot : No such file or directory
warning: in /usr/local/share/octave/2.9.3/m/plot/__plt__.m near line 181, column 3:
warning: connection to external plotter (pid = 4408) lost --
warning: please try your plot command(s) again
warning: broken pipe -- some output may be lost
sh: line 1: /usr/bin/gnuplot : No such file or directory
warning: broken pipe -- some output may be lost

I'm not sure why this would happen, because I KNOW that /usr/bin/gnuplot is there.  Do I need to possibly remove the /usr/local/bin/gnuplot, and if so, how do I do that?  Thanks for the help!

Oh, one more thing:  Is everything I have in my .octaverc file going to appear on startup?  Just wondering.

-Ron
  
-Ron Crummett


    

Dmitri.
  

------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------

reply via email to

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