help-octave
[Top][All Lists]
Advanced

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

Re: Two questions


From: Ben Abbott
Subject: Re: Two questions
Date: Thu, 29 May 2008 18:51:33 -0400


On May 29, 2008, at 4:10 PM, address@hidden wrote:

        Is anybody there to give me an answer to these questions?

Mac PPC G5
System : Mac OS X 10.4.11 (8S165)
Kernel : Darwin 8.11.0
Terminal Version 1.5.1 (133-1) ;
Octave GNU 3.0.0.
Gnuplot Version 4.0 patchlevel 0 ;


QUESTION 1 : plotting from Octave

(terminal is set to aqua in « .gnuplot»)
Everytime I try to plot something from Octave, I received this error message :
error: evaluating switch command near line 58, column 4
error: evaluating for command near line 56, column 2
error: evaluating if command near line 33, column 7
error: evaluating if command near line 26, column 5
error: evaluating if command near line 25, column 3
error: called from `__go_draw_figure__' in file
`/Users/pierremariegagey/Posturologie/GNUOctave/Octave.app/Contents/ Resources/share/octave/3.0.0/m/plot/__go_draw_figure__.m'
error: evaluating if command near line 78, column 6
error: evaluating if command near line 75, column 4
error: evaluating if command near line 73, column 2
error: evaluating for command near line 72, column 7
error: evaluating if command near line 46, column 5
error: called from `drawnow' in file
`/Users/pierremariegagey/Posturologie/GNUOctave/drawnow.m'


[If I open gnuplot directly from Terminal and If I set terminal to
aqua, everytime I try to plot something from Terminal: IT WORKS.]

It sound as if a pipe were broken somewhere, but where and what's to be done?


QUESTION 2 : Compiling gnuplot

I downloaded gnuplot-4.2.3, but after compiling the sources, I found
gnuplot Version 4.0 patchlevel 0  at /usr/local/bin ...!!!   WHY ?


I'm running Octave on Mac OSX 10.5.2 (Intel and PPC).

Please try ...

octave:1> system("set | grep -i 'gnuterm'");
BASH_EXECUTION_STRING='set | grep -i '\''gnuterm'\'''
GNUTERM=aqua
GNUTERMAPP=/sw/Applications/AquaTerm.app
octave:2> system("which gnuplot");
/sw/bin/gnuplot

Please repeat each of these from the terminal window (if that is where you run octave from), or from an xterm window (if that is where you run octave from). The results from within Octave and from the terminal window should be the same.

Ben




reply via email to

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