bugGNU Octave - Bugs: bug #65906, marker in legend not using...

 
 

bug #65906: marker in legend not using linewidth

Submitter:  John <yingwee>
Submitted:  Sat 22 Jun 2024 09:50:39 AM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  yingwee Open/Closed:  * Closed
Release:  * 9.2.0 Operating System:  * Any
Fixed Release:  9.3.0 (current stable) Planned Release:  9.3.0 (current stable)
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 24 Jul 2024 07:21:20 AM UTC, comment #4: 

Thank s Rik for the review.

Pantxo Diribarne <pantxo>
Group Member
Wed 24 Jul 2024 01:18:10 AM UTC, comment #3: 

Verified patch.  I pushed it to the stable branch here and it will be a part of the next bug fix release.  Marking bug as fixed and closing report.

Rik <rik5>
Group administrator
Sun 23 Jun 2024 09:50:31 PM UTC, comment #2: 

That patch fixed it. Thanks!

John <yingwee>
Sat 22 Jun 2024 05:30:17 PM UTC, comment #1: 

The attached patch fixes the issue for me.

(file #56185)

Pantxo Diribarne <pantxo>
Group Member
Sat 22 Jun 2024 09:50:39 AM UTC, original submission:  

When plotting a graph with a marker, such as 'x' or '+', and increasing the linewidth of the maker, when the legend is drawn, the linewidth of the marker is not the same as the graph.

Here is a minimal working example:

figure
ph=plot(1,1,'x','linewidth',3)
lh=legend('wronglinewidth');


A screenshot of the figure is attached.


Using Windows 10,

>> ver octave
----------------------------------------------------------------------
GNU Octave Version: 9.2.0 (hg id: f7f956555e4a)
GNU Octave License: GNU General Public License
Operating System: MINGW32_NT-6.2 Windows 6.2  x86_64
----------------------------------------------------------------------
>> graphics_toolkit
        ans = qt


John <yingwee>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #56185:  bug65906.patch added by pantxo (1020B - 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 rik5 (Posted a comment)
  • -email is unavailable- added by pantxo (Updated the item)
  • -email is unavailable- added by yingwee (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 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-07-24 rik5 StatusPatch Submitted Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 9.3.0 (current stable)
        Planned ReleaseNone 9.3.0 (current stable)
    2024-06-22 pantxo Attached File- Added bug65906.patch, #56185
        CategoryPlotting Plotting with OpenGL
        StatusNone Patch Submitted
        Operating SystemMicrosoft Windows Any
    2024-06-22 yingwee Attached File- Added octave_legend_wrong_linewidth.JPG, #56182

    Back to the top

    Powered by Savane 3.14-3b9d.
    Corresponding source code