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

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

[Octave-bug-tracker] [bug #53888] figure handle is not cleared in gnuplo


From: Lars Kindermann
Subject: [Octave-bug-tracker] [bug #53888] figure handle is not cleared in gnuplot
Date: Mon, 14 May 2018 06:59:25 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0

Follow-up Comment #7, bug #53888 (project octave):

Actually, for plotting serial time data it would be sufficient to subtract an
offset to center the data around zero. The problem arises from the fact that
serial date's zero is 2000 years in the past. So two consecutive seconds now
just differ in the 36th bit:


>> log2(now/(now-1/24/60/60)-1)
ans = -35.894


I was already looking into the plot and datetick code but found no easy way to
introduce scaling / offsetting before sending data to qt. Everything must be
done transparent in both directions for interactive zooming etc. It would be a
massive rewrite of the plot code as scale factors and offsets have to appear
in many places.

I work a lot with geoscience data where timestamps have millicecond precision
and span decades. Porting even small scripts from matlab to octave can become
a real hazzle when using qt.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53888>

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




reply via email to

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