octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #55699] plot markers should not scale linearly


From: Rik
Subject: [Octave-bug-tracker] [bug #55699] plot markers should not scale linearly as it causes deformations when size crossed odd/even pixel numbers
Date: Mon, 11 Feb 2019 17:33:19 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

URL:
  <https://savannah.gnu.org/bugs/?55699>

                 Summary: plot markers should not scale linearly as it causes
deformations when size crossed odd/even pixel numbers
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Mon 11 Feb 2019 02:33:17 PM PST
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Inaccurate Result
                  Status: Confirmed
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

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.





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55699>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]