quickplot reads values in as doubles which can only store so many digits
in the mantissa.  So when quickplot reads in all your time values it may
be losing digits that are needed at the end of the mantissa.   So, for
example (not actual), it reads 1559245834.00 as 155924583.0e+1 loosing
the 4.  Having quickplot be able to handle more digits would slow down
quickpplot, and require more coding at this point.  I think you might
try subtracting  1559245764  from all your time values, and plot that.
I'm pretty sure that will work.  I'm guessing that's the time in seconds
since the year 1970, https://en.wikipedia.org/wiki/Unix_time.  Most of
the "time" you need to subtract an offset to use it in floating point
calculations.

1559245834 seconds  ---  Looks like you got this data about 117 days
ago.

When you "zoom-in too far" with quickplot you are starting to round-off
the floating point values to much in the zoom calculations, and the
values being displayed will be just the artifacts from the round-off
process, and not what you want to look at.  Adding higher zooming-
precision means adding higher floating point calculation precision.


A feature request might be to add code that detects when a the variance in a 
field is much smaller than the fields mean value, and have quickplot 
automatically subtract an offset to the stored values; but display number 
values as they originally were.   I've though about doing that in the past, but 
as it turns out quickplot is not the only program that will have problems 
handling like fields, and in all my use cases I filtered these "problem fields" 
out before using them with any program.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1200632

Title:
  X axis is shifted to the right when you zoom in

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/quickplot/+bug/1200632/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to