[Top][All Lists]

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

Re: An error message concerning plot

From: Haitao Cai
Subject: Re: An error message concerning plot
Date: Fri, 5 Sep 2014 19:11:17 -0400

Hi Ben,

      Thank you very much for your reply! I uninstalled the Octave which was installed via the binary installer (since I could not click on the icon of Octave, I thought it had some problem) and re-installed Octave via Homebrew according to . But I was still unable to plot in Octave though I re-installed gnuplot as you suggested. Later I found another webpage where you were answering the same quesiton: . Then I realized that the I had to add setenv ("GNUTERM", "X11") to octaverc. Now it works! Thanks again for your valuable suggestion!


On Fri, Sep 5, 2014 at 6:21 PM, Ben Abbott <address@hidden> wrote:
On Sep 5, 2014, at 2:02 PM, Haitao Cai <address@hidden> wrote:

> Hi all,
>       I just installed Octave in my OSX via the binary installer and some other things according to . However, I cannot make 1 and 6 in the link. Then I started Octave from the Launch Pad and run a simple script containing the following code:
> <snip></snip>
> Unknown or ambiguous terminal name 'qt'
> gnuplot> set terminal aqua enhanced title "Figure 1" size 560 420  font "*,6" dashlength 1
>                       ^
>          line 0: unknown or ambiguous terminal type; type just 'set terminal' for a list"
> What can I do to solve this problem?
> Thanks in advance!
> Haitao

The problem is that the default configuration of Homebrew's gnuplot doesn't support any terminals for displaying the plots.  To add support for x11, ...

        brew uninstall gnuplot;
        brew install gnuplot --with-x

I don't know if Homebrew supports qt or not.  You might experiment with that ... or ask the Homebrew help list.

Homebrew definitely doens't provide Aquaterm.  But if you are up to a bit of hacking, you'll first need to download and install Aquaterm

And then setup the Homebrew build of gnuplot to link to the Aquaterm libs.  If you need help with that, please inquire on the Homebew and/or gnuplot help lists.

Beware of multiple installs of Aquaterm and/or gnuplot.  You'll save yourself a lot of head-aches if you only have one of each installed on your computer.


PhD student
Department of Linguistics
University of Pennsylvania

reply via email to

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