help-octave
[Top][All Lists]
Advanced

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

Re: errorbar plot won't work


From: frigoris . ma
Subject: Re: errorbar plot won't work
Date: Tue, 31 Jul 2007 02:08:00 +0800

Dear Mr. Eaton,
I re-compiled the recent version 2.9.13 but the problem was not fixed. This time I ran the same code, the terminal was redirected to gnuplot and a lot of error messages happened like this:

gnuplot> plot "-" using ($1):($2):($3):($4) title "" with yerrorbars linestyle 1 lw 0.500000 ;
                                                                                                                                  ^
line 10: duplicated or contradicting arguments in plot options


gnuplot> 1 2 1.9 2.1
              ^
line 10: invalid command


gnuplot> 2 4 3.9 4.1
              ^
line 10: invalid command


gnuplot> 3 6 5.9 6.1
              ^
line 10: invalid command


gnuplot> 4 9 8.9 9.1
              ^
line 10: invalid command


gnuplot> e
              ^
line 10: invalid command


I believe the problem is not the same as version 2.9.12. I'm using gnuplot 4.0 and I don't think there's anything wrong with it.

Still I'm trying to make it. Thank you all the same.

Cong.



On 7/31/07, John W. Eaton < address@hidden> wrote:
On 31-Jul-2007, address@hidden wrote:

| Dear all:
|
| I tried the following code:
|
| xx=[some data];
| yy=[some more data];
| ey=[even more data];
| errorbar(xx, yy, ey, '~')
|
| Here xx, yy and ey are consistent in dimensions. But it won't work out.
| Here's the error info:
|
| error: __errplot__: unrecognized format character: `~'
| error: evaluating if command near line 103, column 2
| error: evaluating if command near line 55, column 7
| error: evaluating if command near line 49, column 5
| error: evaluating while command near line 48, column 3
| error: called from `__pltopt1__' in file
| `/usr/local/share/octave/2.9.12/m/plot/__pltopt1__.m'
| error: evaluating for command near line 110, column 5
| error: evaluating if command near line 96, column 3
| error: called from `__pltopt__' in file
| `/usr/local/share/octave/2.9.12/m/plot/__pltopt__.m'
| error: called from `__errplot__' in file
| `/usr/local/share/octave/2.9.12/m/plot/__errplot__.m'
| error: evaluating assignment _expression_ near line 57, column 16
| error: evaluating if command near line 56, column 7
| error: evaluating while command near line 54, column 5
| error: evaluating while command near line 42, column 3
| error: called from `__errcomm__' in file
| `/usr/local/share/octave/2.9.12/m/plot/__errcomm__.m'
| error: called from `errorbar' in file
| `/usr/local/share/octave/2.9.12/m/plot/errorbar.m'
|
| I can't figure why "~" is not recognized as a format character! It's the
| default one!

This problem seems to be fixed in 2.9.13.

jwe


reply via email to

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