help-octave
[Top][All Lists]
Advanced

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

Re: Using dateaxis to format x-axis


From: rmcd
Subject: Re: Using dateaxis to format x-axis
Date: Tue, 16 Sep 2008 20:23:56 -0700 (PDT)


dbateman wrote:
> 
> the workaround for you is
> 
> x=732000:732010;
> plot(x,x);
> drawnow();
> dateaxis("x"); % I get the same result with and without "x".
> ticks=get(gca(), "xtick") % this is a diagnostic, returning [](0x0)
> 

Thank you for the response and explanation. However, when I call
get(gca(),"xtick") after drawnow I still get []. And I still get the same
error when calling dateaxis:

octave:15> x=732000:732010;
octave:16> plot(x,x);
octave:17> drawnow();
octave:18> dateaxis("x");
error: invalid matrix index = 1
error: evaluating binary operator `-' near line 94, column 17
error: evaluating binary operator `+' near line 94, column 28
error: evaluating assignment expression near line 94, column 9
error: called from `dateaxis' in file
`/usr/share/octave/packages/financial-0.3.0/dateaxis.

-- 
View this message in context: 
http://www.nabble.com/Using-dateaxis-to-format-x-axis-tp19523725p19524738.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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