help-octave
[Top][All Lists]
Advanced

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

Re: Aquaterm problems with octave/gnuplot in OS X


From: Per Persson
Subject: Re: Aquaterm problems with octave/gnuplot in OS X
Date: Fri, 19 Nov 2004 20:09:20 +0100


On Nov 19, 2004, at 18:46, Rahul Ratan wrote:

Hi Per,
This is the output after I did what you said. Aquaterm launched (the icon appeared in the dock) and as before nothing happened. It seems that gnuplot is not able to connect to Aquaterm. How do I proceed from here?

File a bug with the fink project.

Fink renames gnuplot into gnuplotx and replaces gnuplot with the following script:
#!/bin/sh
export AQUATERM_PATH=/sw/Applications/AquaTerm.app
case ${DISPLAY-0} in
 0) export GNUTERM=aqua ;;
esac
/sw/bin/gnuplotx "$@"

which sets up gnuplot to use the AquaTerm version installed by fink if your DISPLAY environment isn't set.
This is to ensure that fink is in complete control.

/Per



----------------------------------------------------------------------- ------
gnuplot> set term aqua
Terminal type set to 'aqua'
Options are '0 title 'Figure 0' size 846 594 fname 'Times-Roman' fsize 14'
gnuplot> test
2004-11-19 12:32:56.277 gnuplotx[762] Warning: Logging at level 4
2004-11-19 12:32:56.289 gnuplotx[762] Launching server...
2004-11-19 12:32:56.605 gnuplotx[762] Waiting... 9
2004-11-19 12:32:57.605 gnuplotx[762] Waiting... 8
2004-11-19 12:32:58.604 gnuplotx[762] Waiting... 7
2004-11-19 12:32:59.604 gnuplotx[762] Waiting... 6
2004-11-19 12:33:00.603 gnuplotx[762] Waiting... 5
2004-11-19 12:33:01.603 gnuplotx[762] Waiting... 4
2004-11-19 12:33:02.602 gnuplotx[762] Waiting... 3
2004-11-19 12:33:03.602 gnuplotx[762] Waiting... 2
2004-11-19 12:33:04.601 gnuplotx[762] Waiting... 1
2004-11-19 12:33:05.601 gnuplotx[762] Could not connect
----------------------------------------------------------------------- -----
Thanks,
Rahul


On Nov 19, 2004, at 5:07 AM, Per Persson wrote:

Sounds like you may have multiple versions of AquaTerm and/or gnuplot installed. BTW, since you can't plot to AquaTerm from gnuplot either this is completely unrelated to octave.

Please try the following:
Quit any running AquaTerm, double click /sw/Applications/AquaTerm.app (or type "open -a /sw/Applications/AquaTerm.app" in the terminal).
Verify that "which gnuplot" returns /sw/bin/gnuplot
Tell AquaTerm to provide some debugging output by setting AQUATERM_LOGLEVEL, using either
export AQUATERM_LOGLEVEL=4
or
setenv AQUATERM_LOGLEVEL 4
depending on whwther you're using bash or tcsh.
Run gnuplot and type
set term aqua
test

Please report what happens and any output from the logging.

/Per


On Nov 19, 2004, at 00:11, Rahul Ratan wrote:

Hi,
I am using the fink installation of octave (2.1.57-3), octave-forge (2004.02.12-3), gnuplot (4.0.0-1) and aquaterm (1.0-1) on a OS X 10.3.6 system. I have not been able to get aquaterm to show plots for anything from either octave and/or gnuplot. I am using apple's X11 1.0 X-server and quartz-wm window manager. When I run the X11 server and give something like

octave:1> x=1:10
x =

   1   2   3   4   5   6   7   8   9  10

octave:2> gset terminal aqua
octave:3> plot (x)

Aquaterm launches but then it does not draw a window. Gnuplot and Octave seem to be installed correctly as I can get the same plots in xterm by doing "gset terminal x11". I have read about people having problems with plots in X11 terminals but my problem is the opposite. Any help would be appreciated. BTW I do not have a .octaverc file and I have not declared any octave/gnuplot environment variables in my .bashrc file.

Rahul





-------------------------------------------------------------
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]