bugGNU Octave - Bugs: bug #45851, Dot plot inaccurate

 
 

bug #45851: Dot plot inaccurate

Submitted by:  None
Submitted on:  Mon 31 Aug 2015 08:11:05 PM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Inaccurate Result
Status: DuplicateAssigned to: None
Originator Name: Pablo CreadesOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.2
Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 31 Aug 2015 08:19:58 PM UTC, comment #1:

Thanks for investigating and reporting a simple test case. This is yet another example of a known problem with the OpenGL-based plotting that Octave implements.

You've identified the possible workarounds for now, use gnuplot or scale the data so it has fewer significant digits.

Mike Miller <mtmiller>
Project Administrator
Mon 31 Aug 2015 08:11:05 PM UTC, original submission:

I've noticed that when the X data is floating point with lots of decimals, the line and dotted line plots generated using "fltk" are misaligned, and even worst, the lines and dots moves randomly as you resize the plot window.
This behavior is not exhibited when using "gnuplot".
Here is a simple piece of code that would reproduce the error:

plot([7777777.0, 7777777.1], [1,2], ".-")

I found the problem when trying to plot time series in which the x axis contain the date as the number of days since January 1st 0000, as returned by the function "datenum".

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 31 Aug 2015 08:19:58 PM UTCmtmillerStatusNone=>Duplicate
      Open/ClosedOpen=>Closed
      Dependencies-=>Depends on bugs #32980

    Back to the top


    Powered by Savane 3.1-cleanup1