|
From: | financial engineer |
Subject: | RE: plotting time series in Octave |
Date: | Tue, 27 Mar 2012 21:46:27 -0400 |
> Date: Tue, 27 Mar 2012 14:13:51 +0000 > From: address@hidden > To: address@hidden > CC: address@hidden; address@hidden > Subject: Re: plotting time series in Octave > > On Mon, Mar 26, 2012 at 01:16:52PM -0400, financial engineer wrote: > > > > > > hi, > > I have formatted the data as follows: > > data="">> > plot(data) > > set(gca(),'xtick',1:7) > > datalabels=([C{1:7,1}]) > > set(gca(),'xticklabel',datalabels) > > > > the difficulty I am having is that this is what datalabels returns: > > datalabels=2011-12-06 02:15:002011-12-06 02:16:002011-12-06 02:17:002011-12-06 02:18:00 > > > > Can somebody please guide me on how to create my datalabels correctly, so I can use the date as my x-axis. > > > > Hi, > install the 'financial' package, so that you can use dateaxis(). I haven't tried it myself, but it seems to be the solution to your problem. > > octave> pkg -forge install financial thanks Indium, tried it....this is the error I get. octave-3.2.4:1> pkg -forge install financial warning: file -forge does not exist warning: file financial does not exist I think I should upgrade to the new octave version 3.6, but unfortunately don't have the instructions to build/install it on ubuntu 10.04....hopefully someone on the team can guide me on that.....Bobby |
[Prev in Thread] | Current Thread | [Next in Thread] |