bugGNU Octave - Bugs: bug #57907, legend does not show dashed line...


bug #57907: legend does not show dashed line with larger linewidth

Submitted by:  Muhali <muhali>
Submitted on:  Thu 27 Feb 2020 04:01:23 PM UTC  
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  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.


Thu 27 Feb 2020 09:58:54 PM UTC, comment #1: 

Confirmed with 'linewidth' set to 2 or larger. With the default 'linewidth' it looks fine to me.

Mike Miller <mtmiller>
Project Administrator
Thu 27 Feb 2020 04:01:23 PM UTC, original submission:  

For quite some time I notice that dashed legend lines are often too short, so short that they are not even dashed.


graphics_toolkit qt
set(0, 'defaulttextfontsize', 18, 'defaultlinelinewidth', 3) ;

plot(1:2, 'k--', 1:2, 'k-') ;
legend({'x' 'y'}, 'box', 'off', 'location', 'south') ;
print foo.png

Muhali <muhali>


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

Attach Files:

Attached Files
file #48510:  foo.png added by muhali (27KiB - image/png)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by muhali (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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-27 mtmiller CategoryNone => Plotting with OpenGL
        Item GroupNone => Incorrect Result
        StatusNone => Confirmed
        Release5.2.0 => dev
        Summarylegend line too short => legend does not show dashed line with larger linewidth
    2020-02-27 muhali Attached File- => Added foo.png, #48510

    Back to the top

    Powered by Savane 3.5