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

 
 

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

Submitter:  Muhali <muhali>
Submitted:  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
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group Member
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.

Example:

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:
   
   
Comment:
   

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group 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.13-4b48.
    Corresponding source code