help-octave
[Top][All Lists]
Advanced

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

Re: An error message concerning plot


From: Ben Abbott
Subject: Re: An error message concerning plot
Date: Fri, 05 Sep 2014 18:21:15 -0400

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 
> http://jatinganhotra.com/blog/2014/01/21/installing-octave-on-os-x-10-dot-9-mavericks/
>  . 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

        http://sourceforge.net/projects/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.

Ben







reply via email to

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