bugGNU Octave - Bugs: bug #63085, Markers not aligned when data...


bug #63085: Markers not aligned when data values are large (but still below flintmax)

Submitter:  Rik <rik5>
Submitted:  Tue 20 Sep 2022 11:51:00 PM UTC
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  None 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

Wed 21 Sep 2022 01:13:34 AM UTC, comment #3: 

Also, if you try to zoom on one of those points it gets really bad.

Dmitri A. Sergatskov <dasergatskov>
Tue 20 Sep 2022 11:56:07 PM UTC, comment #2: 

Last thought is that the maximum of the data (7.4e5) is very far below "flintmax ('single')" which is 1.67e7.

Rik <rik5>
Group administrator
Tue 20 Sep 2022 11:54:12 PM UTC, comment #1: 

This is definitely related to the size of the x-data.  If I normalize the x-data it runs from 1:7 and using those values the markers are situated correctly

Rik <rik5>
Group administrator
Tue 20 Sep 2022 11:51:00 PM UTC, original submission:  

The following code produces markers ('+') which are not aligned with the tick marks on the x-axis.

x = datenum (2022, 08, 21:27);
y = 1:7;
plot (x,y, '+-');
print plotacc.png


Rik <rik5>
Group administrator


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

Attach Files:

Attached Files
file #53737:  badplot.png added by dasergatskov (22KiB - image/png)
file #53734:  plotacc.png added by rik5 (19KiB - image/png)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by dasergatskov (Updated the item)
  • -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.


    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-09-21 dasergatskov Attached File- Added badplot.png, #53737
    2022-09-20 rik5 Attached File- Added plotacc.png, #53734

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code