[changeset]: Re: Octave plot on time/date x-axis
David Bateman
David.Bateman at motorola.com
Tue Sep 16 09:20:27 CDT 2008
Bill Denney wrote:
> David Bateman wrote:
>
>> Bill Denney wrote:
>>
>>> If you install the financial package, you can use the dateaxis command
>>> which likely does what you're wanting to do.
>>>
>> How does dateaxis differ from the dateticks function? Taking a quick
>> look at the matlab help pages, I can see that much of a difference in
>> them. Perhaps we should migrate dateaxis to Octave as the dateticks
>> command and make dateaxis depend on dateticks?
>>
>
> It differs in that I didn't know about it when I was implementing
> dateaxis. You're right that it's a good idea to migrate it to Octave
> and have dateaxis be a call to datetick. I probably won't be able to do
> it soon, though because I'm moving in the next 1.5 weeks.
>
> Have a good day,
>
> Bill
>
>
How about something like the attached? Notice that for datetick we have
to calculate the tick positions ourselves manually as they should fall
of reasonable times. I've attempted to do this in this version, but it
probably needs some work.
With this changeset dateaxis can then be implemented as
function varargout = dateaxis (varargin);
[varargout{:}] = datetick (varargin{:});
endfunction
In any case this was based heavily on your dateaxis code Bill.
Cheers
David
--
David Bateman David.Bateman at motorola.com
Motorola Labs - Paris +33 1 69 35 48 04 (Ph)
Parc Les Algorithmes, Commune de St Aubin +33 6 72 01 06 33 (Mob)
91193 Gif-Sur-Yvette FRANCE +33 1 69 35 77 01 (Fax)
The information contained in this communication has been classified as:
[x] General Business Information
[ ] Motorola Internal Use Only
[ ] Motorola Confidential Proprietary
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch8535
Url: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20080916/347022b2/attachment.ksh
More information about the Help-octave
mailing list