can't plot in Octave on my Mac, but gnuplot and Aqua are working
From:
Jonathan Kane
Subject:
can't plot in Octave on my Mac, but gnuplot and Aqua are working
Date:
Mon, 14 May 2007 21:13:01 -0700 (PDT)
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!!