bugGNU Octave - Bugs: bug #58822, legend misplaced in demo area 1


bug #58822: legend misplaced in demo area 1

Submitted by:  Rik <rik5>
Submitted on:  Fri 24 Jul 2020 05:58:00 PM UTC  
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  6.0.90 Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

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


Thu 06 Aug 2020 06:02:51 PM UTC, comment #3: 

Thanks for fixing this.  I meant to come back and close this but got distracted.

Rik <rik5>
Project Administrator
Thu 06 Aug 2020 10:46:56 AM UTC, comment #2: 

@Rik: I just saw that you had pushed the patch to stable and merged with default. Thank you. Can this report be closed?

Pantxo Diribarne <pantxo>
Project Member
Sun 02 Aug 2020 02:24:50 PM UTC, comment #1: 

This is a regression I introduced in cset 26d69b0a3e8d. The attached patch, meant to be applied on stable, fixes it for me.

(file #49608)

Pantxo Diribarne <pantxo>
Project Member
Fri 24 Jul 2020 05:58:00 PM UTC, original submission:  

At first, "demo area 1" was failing to execute because the number of inputs to the legend.m subfunction boxposition was sometimes too many.  I changed the function prototype for boxposition like so

-function pos = boxposition (axpos, pba)
+function pos = boxposition (axpos, pba, ~)

to resolve that issue.  This was in changeset 28595:4deb794d85e2.

Now that the code is back to running, it no longer runs correctly.  The legend is supposed to be placed in the location "NorthEastOutside", but instead is inside the plotbox, but too high up.

To reproduce, try "demo area 1".

Rik <rik5>
Project Administrator


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

Attach Files:

Attached Files
file #49608:  bug58822.patch added by pantxo (5KiB - text/x-patch)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by pantxo (Updated the item)
  • -email is unavailable- added by rik5 (Submitted the item)
  • -email is unavailable- added by rik5

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

    Only project members can vote.




    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-08-06 rik5 StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2020-08-06 pantxo StatusPatch Submitted => Ready For Test
    2020-08-02 pantxo Attached File- => Added bug58822.patch, #49608
        CategoryOctave Function => Plotting with OpenGL
        StatusConfirmed => Patch Submitted
        Releasedev => 6.0.90
    2020-07-24 rik5 Carbon-Copy- => Added pantxo

    Back to the top

    Powered by Savane 3.5