[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: |
Wed, 17 Sep 2008 05:41:25 -0700 (PDT) |
a
dbateman wrote:
>
>
> x=732000:732010;
> plot(x,x);
> set (gca(),'xtick',732000:2:732010)
> dateaxis("x"); % I get the same result with and without "x".
> ticks=get(gca(), "xtick") % this is a diagnostic, returning [](0x0)
>
>
I still can't get dateaxis("x") to work in this example, but what does work
(from a different thread) is to add this to your example (basically, do
everything manually):
datalabels={'a','b','c','d','e'};
set(gca(),'xticklabel',datalabels);
Thanks very much. I'll grab 3.1.50 and take a look.
--
View this message in context:
http://www.nabble.com/Using-dateaxis-to-format-x-axis-tp19523725p19531275.html
Sent from the Octave - General mailing list archive at Nabble.com.