bugGNU Octave - Bugs: bug #60292, Line segment join styles are ugly...


bug #60292: Line segment join styles are ugly in plots

Submitted by:  None
Submitted on:  Fri 26 Mar 2021 04:08:41 PM UTC  
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Duplicate Assigned to:  None
Originator Name:  Bill Eaton Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  6.2.0
Operating System:  Any

Add a New Comment (Rich Markup)

You are not logged in

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


Sat 27 Mar 2021 11:22:08 AM UTC, comment #2: 

If it may give you some consolation:
On my laptop screen (1368x768) Matlab's output isn't much better, see attached pic. Matlab's line segments are joined more pleasingly, but the lines themselves are much more jagged than Octave's.

Philip Nienhuis <philipnienhuis>
Project Member
Fri 26 Mar 2021 08:56:02 PM UTC, comment #1: 

Thanks for your report. This is a known issue, see bug #39643. We currently use OpenGL's basic line primitive for line objects which don't offer much options.

Closing report as a duplicate.

Pantxo Diribarne <pantxo>
Project Member
Fri 26 Mar 2021 04:08:41 PM UTC, original submission:  

For on-screen plots and saved PNG plots, line segments are drawn as distinct rectangles. For saved SVG plots, line segments are smoothly blended and look more pleasing.

This becomes more noticeable as you increase the linewidth.

To reproduce, try this:
p = plot(rand(10,1));
set(p, 'LineWidth', 6);



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

Attach Files:

Attached Files
file #51148:  bug60292.png added by philipnienhuis (53KiB - image/png)


   bug dependencies.

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 None (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
    2021-03-27 philipnienhuis Attached File- => Added bug60292.png, #51148
    2021-03-26 pantxo CategoryPlotting => Plotting with OpenGL
        StatusNone => Duplicate
        Open/ClosedOpen => Closed
        Operating SystemMicrosoft Windows => Any
        Dependencies- => Depends on bugs #39643

    Back to the top

    Powered by Savane 3.7