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

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

[Octave-bug-tracker] [bug #36122] Datetick throws errors for some axis r


From: Julien Salort
Subject: [Octave-bug-tracker] [bug #36122] Datetick throws errors for some axis range
Date: Sat, 07 Apr 2012 12:19:30 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/534.55.3 (KHTML, like Gecko) Version/5.1.5 Safari/534.55.3

URL:
  <http://savannah.gnu.org/bugs/?36122>

                 Summary: Datetick throws errors for some axis range
                 Project: GNU Octave
            Submitted by: jsalort
            Submitted on: sam. 07 avril 2012 12:19:29 GMT
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: Julien Salort
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.6.1
        Operating System: Mac OS

    _______________________________________________________

Details:

Some date ranges cause datetick to throw an error.

The following throws an error:

t=linspace(734869,734966,80);
plot(t,sin(t))
datetick("dd/mm/yy","keeplimits")


The error is:

error: datenum: subscript indices must be either positive integers or
logicals
error: called from:
error:   /opt/local/share/octave/3.4.3/m/time/datenum.m at line 110, column 5
error:   /opt/local/share/octave/3.4.3/m/time/datetick.m at line 183, column
14
error:   /opt/local/share/octave/3.4.3/m/time/datetick.m at line 42, column 5


The following does not throw an error:

t=linspace(734869,734900,80);
plot(t,sin(t))
datetick("dd/mm/yy","keeplimits")





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.gnu.org/




reply via email to

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