bugGNU Octave - Bugs: bug #55699, plot markers should not scale...

 
 

bug #55699: plot markers should not scale linearly as it causes deformations when size crosses odd/even pixel numbers

Submitter:  Rik <rik5>
Submitted:  Mon 11 Feb 2019 10:33:17 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 11 Feb 2019 10:33:17 PM UTC, original submission:  

The function make_marker_list in gl-render.cc should be updated so that when sizes (specified in points) result in an odd or even number of pixels for the marker size, the result is still drawn correctly.

Here is a sample


clf;
set (gcf, 'graphicssmoothing', 'off');
hl = plot (1:10, ones (1,10), 'sb', 'linewidth', 3/4, 'markersize', 3);
hold on
hl2 = plot (1:10, ones (1,10), '.r', 'linewidth', 3/4, 'markersize', 3/4);


In the plot, the dot marker isn't drawn at positions 3 and 8.  And the square marker doesn't particularly look like a square.

All markers need review.

Rik <rik5>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-02-11 rik5 Summaryplot markers should not scale linearly as it causes deformations when size crossed odd/even pixel numbers plot markers should not scale linearly as it causes deformations when size crosses odd/even pixel numbers

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code