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:  Patch Submitted Assigned to:  None
Originator Name:  yingwee Open/Closed:  * Open
Release:  * 9.2.0 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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

    Date Changed by Updated Field Previous Value => Replaced by
    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.13-b921.
    Corresponding source code