errorbar does not work as advertised

Francesco Potorti` Potorti at isti.cnr.it
Tue Oct 14 03:57:45 CDT 2008


I see three problems with the errorbar function.

First, the styles "#" (boxes) and "#~" (boxerrorbars) are not described
the help string.  I they are intended to map the gnuplot styles, I think
that they are redundant, and only "#~>" (boxxyerrorbars) should be left.

Second, all box styles are ignored and treated like errorbar styles.
The issue, as far as I understand, is that the line object has no
attribute specifyng the type of error to plot.  If this is the right way
to go, I can propose a changeset so that __errplot__ adds an errorstyle
attribute to be used by __go_draw_axes__.

Third, if two or three vector arguments are given, the xerror ">"
specification is ignored, and vertical bars are drawn instead.  If this
is intended behaviour, I can prepare a changeset to clarify the errorbar
help string.  However, I suspect that a behaviour similar to gnuplot's
was intended; in this case, I can try to write a changeset to obtain it.

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: Potorti at isti.cnr.it
(entrance 20, 1st floor, room C71)     Web:   http://fly.isti.cnr.it/


More information about the Bug-octave mailing list