bugGNU Octave - Bugs: bug #60252, Strange Plot with Date and Time...

 
 

bug #60252: Strange Plot with Date and Time Axis

Submitter:  Armin Müller <arm_in>
Submitted:  Wed 17 Mar 2021 09:46:34 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 6.2.0 Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 18 Mar 2021 08:32:40 AM UTC, comment #2: 

Thank you for the two links to the related cases and for the workarounds!
I had no clue what was going on.
Strange enough that the point markers are looking correct, though.

Armin Müller <arm_in>
Thu 18 Mar 2021 07:18:39 AM UTC, comment #1: 

Quoting Pantxo in bug #60243:

> This is the oldest known issue of opengl based graphics toolkits: bug #32980. Basically, this is a consequence of OpenGL using single precision arithmetic. See also bug #59418 about documenting the available workarounds (basically rescaling the data when it is possible, or using the gnuplot toolkit) until this gets fixed.
> Closing report as a duplicate.

Markus Mützel <mmuetzel>
Group administrator
Wed 17 Mar 2021 09:46:34 PM UTC, original submission:  

When running the m-script in the attachment,
the plot looks strange:

  • markers are at the right position
  • line seems to be quantized horizontally to whole hours (or something else I cannot explain)
  • the axis are totally off
  • the result changes when zooming in and out



GNU Octave Version: 6.2.0 (hg id: 5cfdf97c5350)
GNU Octave License: GNU General Public License
Operating System: MINGW32_NT-6.2 Windows 6.2  x86_64

Armin Müller <arm_in>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #51082:  plot_time_error.m added by arm_in (579B - application/octet-stream)
file #51083:  plot_time_error.png added by arm_in (17KiB - image/png)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by arm_in (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-18 mmuetzel CategoryPlotting Plotting with OpenGL
        StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #32980
    2021-03-17 arm_in Attached File- Added plot_time_error.m, #51082
        Attached File- Added plot_time_error.png, #51083

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code