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

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

[Octave-bug-tracker] [bug #50493] datetick crashes on certain date range


From: Rik
Subject: [Octave-bug-tracker] [bug #50493] datetick crashes on certain date ranges
Date: Sun, 12 Mar 2017 23:52:15 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #9, bug #50493 (project octave):

I pushed a patch for bug #50808 which allows datenum to accept vectors that
contain fractional months.

@Lars: Is your patch from this report still necessary?  If so, could you give
an example of where the current behavior is wrong so I can see how your patch
is fixing it?

I'm attaching two png images made with the existing code (after fix for bug
#50808) (regular.png) and your proposed patch (patched.png).

One thing I note is that the ticks are unevenly spaced in both versions.  That
seems strange, but maybe it is just related to the number of days in each
month. 

Code to reproduce


x = datenum ([2004, 1 , 15;
              2004, 2 , 15;
              2004, 3 , 15;
              2004, 4, 15]);
plot (x, 1:4);
datetick ('mm/DD/YY');




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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