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

 
 

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

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

Add a New Comment Rich Markup
   

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>
Group 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>
Group 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);

Anonymous

 

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

Attach Files:
   
   
Comment:
   

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

 

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

    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
    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.13-d3ae.
    Corresponding source code