|
From: | Jonathan Suever |
Subject: | Re: datetick, reason for explicitly undocumented behavior? |
Date: | Thu, 29 Dec 2016 14:04:47 -0600 |
nickjthis came up in a StackExchange query today [1]. A user had transposed inputs to the datetick commandWhat would be the reason for not documenting a known and deliberate extension from 'standard' m-code?
datetick(29, 'x') versus datetick('x', 29)
While this obviously failed to produce the desired output, the command didn't error out as it it does in Matlab. Instead, it instead followed an undocumented codepath that allows you to specify the starting date to use for the labels. While it's not overly odd that Octave code have options that extend beyond Matlab's, I find it odd that it's not only undocumented but explicitly undocumented [2]:## Don't publish the existence of this variable for use with dateaxis if (length (varargin) > 0) startdate = varargin{1}; else startdate = []; endif
_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave
[Prev in Thread] | Current Thread | [Next in Thread] |