help-octave
[Top][All Lists]
Advanced

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

Re: can't plot in Octave on my Mac, but gnuplot and Aqua are working


From: Daniel J Farrell
Subject: Re: can't plot in Octave on my Mac, but gnuplot and Aqua are working
Date: Tue, 15 May 2007 10:23:07 +0100

Hi Jonathan,

Here are the details of my set up:
GNU Octave, version 2.1.73 (powerpc-apple-darwin7.9.0)
gnuplot 4.2 patchlevel rc1
AquaTerm v1.0.1 (1.0.1)

I don't have any of your exports in my shell file (I use .profile rather than .bashrc). However, I have set some MacOS environment variables. This can be done by making ~.MacOS/environment.plist. In this pref. list file make the following entries associated with GNUTERM and PATH (see screen shot, www.boyfarrell.com/forums/ octave.jpg). The PATH string obviously needs to be your PATH string! I don't think that you can use the dollar sign in this file you will have to hard code a the paths.

Have a look here:
http://developer.apple.com/qa/qa2001/qa1067.html

There are other such reference to the envionment.plist at this site.

Hope that works!

Dan.


On 15 May 2007, at 05:13, Jonathan Kane wrote:

Hi,
I installed Aquaterm 1.0.1 and gnuplot 4.0 and I can make plots with gnuplot, so I think I installed them correctly. I installed Octave and set the following variables in .bashrc:
**
export AQUATERM_REPORT_TIMING=1
export AQUATERM_PATH=/Applications/AquaTerm.app
export PATH=$PATH:/usr/local/bin
export GNUTERMAPP=/Applications/AquaTerm.app
export GNUTERM=aqua
**

When I start Octave up, I get the following error:

**
error: couldn't link module /usr/local/libexec/octave/2.9.9/site/ oct/i386-apple-darwin8.9.1/octave-forge/__imagemagick__.oct
error: evaluating argument list element number 2
error: near line 1 of file `/usr/local/share/octave/2.9.9/site/m/ octave-forge/image/PKG_ADD' error: source: error sourcing file `/usr/local/share/octave/2.9.9/ site/m/octave-forge/image/PKG_ADD' error: near line 11 of file `/usr/local/share/octave/2.9.9/m/ startup/octaverc'
**

Next, when I type a simple Matlab-like plotting command I get the following errors:

**
octave:1> sombrero(25)
parse error near line 46 of file /usr/local/share/octave/2.9.9/m/ plot/mesh.m

  syntax error

>>>       __gnuplot_set__ noparametric;
                                     ^

error: `mesh' undefined near line 45 column 7
error: evaluating if command near line 40, column 5
error: evaluating if command near line 39, column 3
error: called from `sombrero' in file `/usr/local/share/octave/ 2.9.9/m/plot/sombrero.m'
**


Can anyone tell me what's going on?  Please help!  Thanks!!

Jon
_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave



reply via email to

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