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 11:59:47 +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 #3, bug #29057 (project octave):

Look at the page 

http://www.mathworks.com/access/helpdesk/help/techdoc/ref/errorbarseriesproperties.html

describing an errorbar series.. As you'll see an errorbar plot is an hggroup
object with several opaque grahics objects wrapped in it. In matlab these are
all line objects, but octave uses the gnuplots errorbar functionality hidden
opaquely in the hggroup so the child objects of the hggroup are not the same
between Octave and Matlab.

When I implemented errorbar series 2 years ago, I hesitated to have a single
octave __line__ object as the child of the hggroup. However, if I remember
correctly, matlab doesn't plot the markers of the error bar plot in the
legend, and so I deliberately added a second line object that just plotted the
line essentially for use in the legend for compatibility with matlab.

So the question is not that Octave doesn't plots a marker in the legend, but
rather whether this is the correct behavior.. I believe if you try the same in
matlab you'll get the same behavior as Octave currently has. So I don't see
this as a bug, but rather the expected behavior.

As I don't have access to matlab to test I can't however close this bug as I
can't confirm the above. Does someone want to run the command in the first
comment to this bug report and see whether matlab plots the markers in the
legend or not?

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]