bugGNU Octave - Bugs: bug #36122, Datetick throws errors for some...

 
 

bug #36122: Datetick throws errors for some axis range

Submitted by:  Julien Salort <jsalort>
Submitted on:  Sat 07 Apr 2012 12:19:29 PM UTC  
 
Category: PlottingSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: Jordi GutiĆ©rrez Hermoso <jordigh>
Originator Name: Julien SalortOpen/Closed: Closed
Release: 3.6.1Operating System: Mac OS

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Mon 21 May 2012 11:24:29 AM UTC, comment #5:

Direct link to changeset:

http://hg.savannah.gnu.org/hgweb/octave/rev/4f458e882516

John W. Eaton <jwe>
Project Administrator
Mon 21 May 2012 11:23:18 AM UTC, comment #4:

Link to changeset:

http://hg.savannah.gnu.org/hgweb/octave/log?rev=4f458e882516

John W. Eaton <jwe>
Project Administrator
Sun 20 May 2012 11:07:20 PM UTC, comment #3:

In fact matlab accepts fractional month and I suppose we should too. I fixed this issue differently in the chanageset 4f458e882516

D.

David Bateman <dbateman>
Project Member
Fri 11 May 2012 01:58:44 PM UTC, comment #2:

Apparently the reason is that the calculation of the separation between ticks can lead to fractional month value. I propose to add a test in datenum.m to throw a more explicit error in case month value is fractional and a slight correction to datetick to avoid fractional month values.

(file #25836, file #25837)

Julien Salort <jsalort>
Tue 10 Apr 2012 06:10:02 PM UTC, comment #1:

Confirmed at revision 14542:bf219932bf3e. Would you like to attempt to debug this yourself?

Jordi GutiƩrrez Hermoso <jordigh>
Project AdministratorIn charge of this item.
Sat 07 Apr 2012 12:19:29 PM UTC, original submission:

Some date ranges cause datetick to throw an error.

The following throws an error:

The error is:

The following does not throw an error:

Julien Salort <jsalort>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #25836:  datenum.m.patch added by jsalort (156B - application/octet-stream)
file #25837:  datetick.m.patch added by jsalort (295B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Posted a comment)
  • -unavailable- added by dbateman (Posted a comment)
  • -unavailable- added by jordigh (Posted a comment)
  • -unavailable- added by jsalort (Submitted the item)
  •  

    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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 20 May 2012 11:07:56 PM UTCdbatemanStatusPatch Submitted=>Fixed
      Open/ClosedOpen=>Closed
    Fri 11 May 2012 03:24:13 PM UTCjordighStatusConfirmed=>Patch Submitted
      Assigned toNone=>jordigh
    Fri 11 May 2012 01:58:44 PM UTCjsalortAttached File-=>Added datenum.m.patch, #25836
      Attached File-=>Added datetick.m.patch, #25837
    Tue 10 Apr 2012 06:10:02 PM UTCjordighStatusNone=>Confirmed

    Back to the top


    Powered by Savane 3.1-cleanup1