octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #29057] __errplot__.m plots legends without ma


From: David Bateman
Subject: [Octave-bug-tracker] [bug #29057] __errplot__.m plots legends without markers
Date: Mon, 26 Apr 2010 20:00:42 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009091010 Iceweasel/3.0.14 (Debian-3.0.14-1)

Follow-up Comment #8, bug #29057 (project octave):

Ben,

The code in __pltopt__ for the errorbar plots is

  if (strcmp (caller,"__errplot__"))
    if (strncmp (opt, "#~>", 3))
      n = 3;
    elseif (strncmp (opt, "#~", 2) || strncmp (opt, "~>", 2))
      n = 2;
    elseif (strncmp (opt, "~", 1) || strncmp (opt, ">", 1) 
            || strncmp (opt, "#", 1))
      n = 1;
    endif
    options.linestyle = opt(1:n);
    opt(1:n) = [];
    have_linestyle = true;
  endif

Where "options.linestyle = opt(1:n);" is line 158... Only the linestyles
above are valid in Octave's errorbar function, as these are used to define if
yerr,xerr,xyerr or box plots are used. We shouldn't fail in such a horrid way,
but should we accept other linestyles than the above and if so do we assume
yerr style for the errorbars?

D.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?29057>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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