bugGNU Octave - Bugs: bug #36480, No markers in Legends with...


bug #36480: No markers in Legends with errorbar-plot

Submitted by:  None
Submitted on:  Wed 16 May 2012 10:32:10 AM UTC  
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Inaccurate Result
Status: FixedAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: dev
Operating System: GNU/Linux

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 09 Nov 2013 06:38:50 PM UTC, comment #5:

Nice simple fix. I pushed it here (http://hg.savannah.gnu.org/hgweb/octave/rev/5fbab07c419f). I changed the commit message to have the bug number in the first line since this is customary. Closing report.

Rik <rik5>
Project Administrator
Wed 06 Nov 2013 09:43:40 PM UTC, comment #4:

Changing the order of the childrens within errorbar may be the better solution, at least matlab does it that way :-)

(file #29552)

Stefan Mahr <dac922>
Wed 06 Nov 2013 06:30:22 PM UTC, comment #3:

Attached patch fixes this problem and bug #37337, but I don't check it for regressions yet.

(file #29550)

Stefan Mahr <dac922>
Wed 06 Nov 2013 06:13:30 PM UTC, comment #2:

I can confirm this bug is still present (also seems a regression from bug #29057). This can be seen easily by comparing the following:

On the first figure (where plot() was used), the legend shows the marker, while on the second (done with errorbar()), ther is only the text.

I'm not super familiar with the code for graphics but I tracked it down to somewhere before line 840 of legend.m

where this returns "none" for an errorbar plot. This however is not true as can be seen from:

Carnë Draug <carandraug>
Project Member
Wed 23 Jan 2013 01:39:21 PM UTC, comment #1:

Hi Christian,
your example works for me using version 3.6.2 with both backends (fltk and gnuplot).

Regards, Andy

Andreas Weber <andy1978>
Project Member
Wed 16 May 2012 10:32:10 AM UTC, original submission:

This problem seem to be solved in bug #29057 in Octave Version 3.2.3.

However, in my version 3.4.0 marker are still not present in plots like errorbar() or semilogyerr().

An example:

I am not able to change octave files in a way that helps. Is anyone here to give me the patched files to solve this problem.
Thanks for help!



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #29552:  errorbar2.diff added by dac922 (3KiB - text/x-patch)
file #29550:  errorbar_legend.diff added by dac922 (974B - text/x-patch)


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by dac922 (Updated the item)
  • -unavailable- added by andy1978 (Posted a comment)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 09 Nov 2013 06:38:50 PM UTCrik5StatusNone=>Fixed
    Wed 06 Nov 2013 09:43:40 PM UTCdac922Attached File-=>Added errorbar2.diff, #29552
    Wed 06 Nov 2013 06:30:22 PM UTCdac922Attached File-=>Added errorbar_legend.diff, #29550
    Wed 06 Nov 2013 06:14:00 PM UTCcarandraugRelease3.4.0=>dev
    Tue 08 Oct 2013 12:33:13 AM UTCrik5Dependencies-=>Depends on bugs #37337

    Back to the top

    Powered by Savane 3.1-cleanup1