help-octave
[Top][All Lists]
Advanced

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

Re: Octave does not start gnuplot


From: Ben Abbott
Subject: Re: Octave does not start gnuplot
Date: Thu, 25 Nov 2010 09:29:03 -0500

On Nov 25, 2010, at 4:09 AM, Paul Schanda wrote:

> Hi there,
> 
> I have installed Octave and Gnuplot, using MacPorts, on my MacBook Pro. 
> The octave is version 3.2.4, gnuplot is Version 4.4 patch level 2. 
> Gnuplot's terminal type is set to 'aqua'.
> 
> I can start octave without problems and its functions seem to work. 
> However, when I try to plot something gnuplot is not started correctly. 
> I try the following:
> 
> octave:1> a=[1 2 3]
> octave:2> plot(a)
> 
> 
> These commands start up X11 as well as AquaTerm. 
> However, then nothing else happens. 
> octave goes back to a promt again:
> 
> octave:3> 
> 
> No gnuplot window pops up, no graph coming... There are no error messages,
> making it hard to know where to start.
> 
> 
> I found that I have "gnuplot" in a couple of places, 
> because it apparently came
> with some other Unix-type programs I am using (such as NMRPipe). 
> I am not sure whether this can make problems.
> I have also tried to create an alias in my .cshrc, 
> such that I am sure that a command "gnuplot" points to the version 
> that I have installted together with octave.
> 
> Any ideas ?
> 
> By the way, I also find that I cannot cleanly exit octave. 
> It just gets stuck
> and I have to quit the program with Ctrl-C. 
> Could this be related ?
> 
> Thanks
> 
> Paul

What does the following return?

        getenv ("GNUTERM")

A proper result would be "x11" or "aqua".

Ben




reply via email to

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