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

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

[Octave-bug-tracker] [bug #49954] Incorrect usage of datetick in the onl


From: anonymous
Subject: [Octave-bug-tracker] [bug #49954] Incorrect usage of datetick in the online documentation
Date: Thu, 29 Dec 2016 19:56:29 +0000 (UTC)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36

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

                 Summary: Incorrect usage of datetick in the online
documentation
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 29 Dec 2016 07:56:27 PM UTC
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Suever
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.2.0
        Operating System: Any

    _______________________________________________________

Details:

As pointed out on StackOverflow [1], the second demonstration in the online
documentation for datetick [2] has transposed the first two input arguments.
This doesn't lead to an error but the 'x' is interpreted as the undocumented
input specifying the start date to use.


datetick (2, 'x', 'keepticks');


This should read


datetick ('x', 2, 'keepticks');



[1]: http://stackoverflow.com/a/41381834/670206
[2]: https://octave.sourceforge.io/octave/function/datetick.html




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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