bugGNU Octave - Bugs: bug #61814, legends with marker '.' are too...


bug #61814: legends with marker '.' are too small

Submitted by:  Rik <rik5>
Submitted on:  Thu 13 Jan 2022 05:36:58 PM UTC  
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  Rik <rik5>
Originator Name:  Open/Closed:  Closed
Release:  dev Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

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


Fri 14 Jan 2022 09:45:20 PM UTC, comment #2: 

The original offending case now looks good and so does the new demo.

Closing report as fixed.

Pantxo Diribarne <pantxo>
Project Member
Fri 14 Jan 2022 04:32:28 PM UTC, comment #1: 

This turned out to be a much more involved patch as there were a lot of corner cases.  I checked in a fix here: http://hg.savannah.gnu.org/hgweb/octave/rev/1aa0456ecb18.

Marking as Ready for Test.

Rik <rik5>
Project AdministratorIn charge of this item.
Thu 13 Jan 2022 05:36:58 PM UTC, original submission:  

Steps to reproduce:

hp = plot (1:10, 'marker', '.', 'markersize', 15);
hleg = legend ('legend_text', 'location', 'north');

Trouble seems to be that legend.m enforces a maximum markersize of 8 in the legend key, but the '.' marker is specifically ~1/3rd of other marker sizes so it is quite small at a limit of 8.

Should have a patch soon.

Rik <rik5>
Project AdministratorIn charge of this item.


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


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

    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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-01-14 pantxo StatusReady For Test => Fixed
        Open/ClosedOpen => Closed
    2022-01-14 rik5 StatusNone => Ready For Test

    Back to the top

    Powered by Savane 3.7