help-octave
[Top][All Lists]
Advanced

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

Re: Help: Pipe Broken


From: pmgagey
Subject: Re: Help: Pipe Broken
Date: Mon, 12 Nov 2007 09:13:19 +0100

        Nice, Tatsuro... the pipe broken works again!

        As you asked me, I summarize the all story for other users of the list.

Thanks a lot.


Dear Dr. Pierre-Marie GAGEY

First, please cc or to your mail to  address@hidden
The logs are helpful for other users.
This is the one of the purpose of the ML.

By the way, because my expalnation inadequate your description is not right.
You have to also write the file name of gnuplot.

           :
           :
           :
## This appears here instead of in the pkg/PKG_ADD file so that --norc
## will also skip automatic loading of packages.

pkg ("load", "auto");

gnuplot_binary('/usr/local/gnuplot4.3/bin/gnuplot -geometry 600x400+600+400');

Please write 'gnuplot'.

Tatsuro

2007/11/11, address@hidden <address@hidden>:
Dear Mr Matsuoka,

       Thanks for your help.
       But I am not sure I put the instruction
"gnuplot_binary('~/posturologie/GNUOctave/');" at the right place in
the file octaverc, but in fact till now that does not work, I receive
the same error message.

       What's wrong?

Here is the copy of the NEW file octaverc:

## System-wide startup file for Octave.
##
## This file should contain any commands that should be executed each
## time Octave starts for every user at this site.

## Configure readline using the file inputrc in the Octave startup
## directory.

read_readline_init_file (sprintf ("%s%s%s",
                                 octave_config_info ("startupfiledir"),
                                 filesep, "inputrc"));

gnuplot_binary('~/posturologie/GNUOctave/');

if (strcmp (PAGER (), "less") && isempty (getenv ("LESS")))
PAGER_FLAGS ('-e -X -P"-- less ?pB(%pB\\%):--. (f)orward, (b)ack, (q)uit$"');
endif

## This appears here instead of in the pkg/PKG_ADD file so that --norc
## will also skip automatic loading of packages.

pkg ("load", "auto");

PMG


Dear Dr. Pierre-Marie GAGEY

Sometimes the pipe-link beween the octave and the gnuplot breaks. The reasons for my case, the configure cannot find gnuplot correctly. For your case, I do not know the reason but the way to
re-connect missing link is that to set gnuplot_binary.

Please try that you describe in .../share/octave/2.9.xx/m/startup/octaverc or
.../share/octave/site/m/startup/octaverc

gnuplot_binary(' (abosolute path of gnuplot) ');


I hope this will be help for you.
Good luck!

Tatsuro


Hello,

        Could you help me, please?

Problem :
Trying to plot from Octave it says « gnuplot command not found» even
when set term aqua or x11.
Though GnuPlot is installed and works on x11

Configuration ;
Mac 1,6 GHz PPC G5  768 Mo DDR SDRAM Mac OS 10.4,10
Octave 2.9.16 (Binary)   GnuPlot 4.2.2

Error Message

octave-2.9.16:1> x = -10:0.1:10;
octave-2.9.16:2> plot (x, sin (x));
sh: line 1: gnuplot: command not found
warning: broken pipe -- some output may be lostls

sh: line 1: gnuplot: command not found
error: compare_versions: version numbers must be a single row
error: evaluating if command near line 74, column 3
error: called from `compare_versions' in file
`/Users/pierremariegagey/Posturologie/GNUOctave/Octave.app/Contents/Resources/share/octave/2.9.16/m/miscellaneous/compare_versions.m'
error: evaluating static command near line 31, column 5
error: evaluating if command near line 25, column 3
error: called from `__go_draw_axes__' in file
`/Users/pierremariegagey/Posturologie/GNUOctave/Octave.app/Contents/Resources/share/octave/2.9.16/m/plot/__go_draw_axes__.m'
error: evaluating switch command near line 53, column 4
error: evaluating for command near line 51, 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/2.9.16/m/plot/__go_draw_figure__.m'
error: evaluating if command near line 73, column 6
error: evaluating if command near line 70, column 4
error: evaluating if command near line 68, column 2
error: evaluating for command near line 67, column 7
error: evaluating if command near line 41, column 5
error: called from `drawnow' in file
`/Users/pierremariegagey/Posturologie/GNUOctave/Octave.app/Contents/Resources/share/octave/2.9.16/m/plot/drawnow.m'

Context
   I¹m using Octave for the first time. At first I tried to get it
through Fink but I got plenty of troubles this way, that¹s why I
downloaded binary Octave 2.9.16, quite simple.
I guess ( ???) there¹s some problem with  « /sw » where I made a fuss
with Fink ???

What¹s to be done ?
Thanks

--
Dr Pierre-Marie GAGEY
Fondateur de l'Association Française de Posturologie
2, rue de l'avenir 94240 L'HAY-LES-ROSES France
Tél. 01 74 71 55 85
E.mail address@hidden
URL  http://pmgagey.club.fr/Index.htm


reply via email to

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