help-octave
[Top][All Lists]
Advanced

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

Re: gnuplot-aqua


From: Thomas Treichl
Subject: Re: gnuplot-aqua
Date: Sun, 30 Dec 2007 21:53:07 +0100
User-agent: Thunderbird 2.0.0.9 (Macintosh/20071031)

I'm not sure - don't know what's going on here. The only thing that I can see and I don't know what it is for is the manual installation of AquaTerm.app - an installation of AquaTerm.app is not required if using the Gnuplot.app that comes with the octave-*.dmg. Gnuplot.app brings its own working AquaTerm framework that is installed in /Applications/Gnuplot.app/Contents/Resources/lib. Maybe the problem comes with that AquaTerm.app?!

Peter, I'd like to start searching at the beginning. The following lines of code do not open an AquaTerm window on your machine with a plot in it? Please open a new Terminal.app and try

  MyMac:~$ export GNUTERM=aqua
  MyMac:~$ /Applications/Gnuplot.app/Contents/Resources/bin/gnuplot
  gnuplot> plot sin(x)/x

If there is no window opened, can you see any warning or error messages?

  Thomas

Ben Abbott schrieb:
Thomas,

Peter is using the Octave 3.0.0 from source forge. Unfortunately, gnuplot is using x11 rather than aquaterm.

Any idea what is wrong here?

Ben

On Dec 31, 2007, at 12:03 AM, Peter Chen wrote:

Yes, my gnuplot is using 'aqua' by default.

On Dec 30, 2007, at 12:31 AM, Ben Abbott wrote:

ok. It appears we have similar installations (Leopard, gnuplot 4.2.2, and Octave 3.0.0).

I suggest we first make sure that gnuplot is using 'aqua' by default.

From the terminal.app, type "gnuplot"

Check the version is 4.2, and that it replies "Terminal type set to 'aqua'"

If the terminal is not set to 'aqua', then type "type set to 'aqua'"

Now, from gnuplot, type "plot sin(x)".

You should get an aquaterm window with a sine function plotted.

Below is what shows up in my terminal window.

--------------------------------------------
bens-macbook:~ bpabbott$ gnuplot

    G N U P L O T
    Version 4.2 patchlevel 2
    last modified 31 Aug 2007
    System: Darwin 9.1.0

    Copyright (C) 1986 - 1993, 1998, 2004, 2007
    Thomas Williams, Colin Kelley and many others

    Type `help` to access the on-line reference manual.
    The gnuplot FAQ is available from http://www.gnuplot.info/faq/

Send bug reports and suggestions to <http://sourceforge.net/projects/gnuplot>


Terminal type set to 'aqua'
gnuplot> plot sin(x)
--------------------------------------------

Ben

On Dec 30, 2007, at 11:26 AM, Peter Chen wrote:

gnuplot --version--4.2.2. I obtained octave from Sourceforge. gnuplot can use AquaTerm.

Peter

On Dec 29, 2007, at 9:03 PM, Ben Abbott wrote:

Peter,

I have some errands to run. I'll be back later.

In the meantime, what do you get when you type

    gnuplot --version

from the OS X terminal.app? I get

    gnuplot 4.2 patchlevel 2

Also where did you obtain octave from? Sourceforge, Mac/DarwinPorts, or somewhere else?

Ben

On Dec 30, 2007, at 10:48 AM, Peter Chen wrote:

Ben,

Octave produces plots using X11. And, yes, I have AquaTerm.app installed on Applications.

Peter

On Dec 29, 2007, at 7:37 PM, Ben Abbott wrote:

Peter,

Yes, I'm using Fink and am also running Leopard 10.5.1 on Intel.

Does octave produce plots for you at all?

Do you have AquaTerm.app installed?

Ben


On Dec 30, 2007, at 3:05 AM, Peter Chen wrote:

Ben,

Thanks for your reply. Unfortunately, this does not work for me. Could you show me more details? What is directory name, "sw" ? Is it 'fink"? I am running Octave on Intel 10.5.1.

On Dec 28, 2007, at 10:54 PM, Ben Abbott wrote:


On Dec 29, 2007, at 7:39 AM, Peter Chen wrote:

How do i let octave 3.0 use gnuplot-aqua?

Peter,

I have the two variables below set in my bash shell

    GNUTERM=aqua
    GNUTERMAPP=/sw/Applications/AquaTerm.app

On Leopard that should be all you need. Running Tiger, Aquaterm did not work for me from the Terminal.app. However, it apparently did for others. To use Aquaterm under Tiger I had needed to run octave from an xterm window.

Ben











reply via email to

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