[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53478] Default linewidth is too thin, can als
From: |
Mayeul Cantan |
Subject: |
[Octave-bug-tracker] [bug #53478] Default linewidth is too thin, can also make legend inaccurate |
Date: |
Mon, 26 Mar 2018 10:01:46 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:58.0) Gecko/20100101 Firefox/58.0 |
URL:
<http://savannah.gnu.org/bugs/?53478>
Summary: Default linewidth is too thin, can also make legend
inaccurate
Project: GNU Octave
Submitted by: mayeulc
Submitted on: Mon 26 Mar 2018 02:01:45 PM UTC
Category: Plotting
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.1
Operating System: GNU/Linux
_______________________________________________________
Details:
Please see the attached screenshot: I find the default linewidth too low for
actually noticing the plot, especially in the legend box.
The screenshot shows two plots, one with the default linewidth, and the second
one with it set to 1.
I think the default should either be higher, or the antialiasing should be
improved to increase the contrast in the middle of the plot line. I don't
think it is a good idea to plot anything with an effective line width under
one pixel.
In a related note, even a linewidth of 1 is sometimes hard to work with, as
the legend is highly inaccurate, at least on my screen. I don't know whether
to open a separate bug report for this, but the legend box seems to perform
some subpixel rendering, which can drastically alter the color of thin lines.
It should either:
* Snap the legend lines to the closest pixel (probably the best idea)
* Perform some color-accurate subpixel rendering (probably very hard, but
would be interesting to explore)
* Draw thicker lines or disable subpixel rendering/antialiasing altogether
(probably the quickest fix, though thicker lines would mean an inaccurate
legend).
A screenshot is included as well, with the plot window slightly resized
vertically to make the bug appear.
Screenshots taken on Arch Linux/KDE (with a rather old intel processor,
although drivers should be quite OK).
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mon 26 Mar 2018 02:01:45 PM UTC Name: bug_thin_line.png Size: 28KiB
By: mayeulc
Bug illustrations
<http://savannah.gnu.org/bugs/download.php?file_id=43686>
-------------------------------------------------------
Date: Mon 26 Mar 2018 02:01:45 PM UTC Name: inaccurate_legend.png Size:
28KiB By: mayeulc
Bug illustrations
<http://savannah.gnu.org/bugs/download.php?file_id=43687>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53478>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53478] Default linewidth is too thin, can also make legend inaccurate,
Mayeul Cantan <=