help-octave
[Top][All Lists]
Advanced

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

Re: Octave plot on time/date x-axis


From: djacobson
Subject: Re: Octave plot on time/date x-axis
Date: Wed, 17 Sep 2008 15:16:44 -0700 (PDT)

Thanks for the help! your example got me up and running in no time.
{
data = [2 3 5 3.5 6]; 
datalabels = {'10/3/2008','10/4/2008','10/5/2008','10/6/2008','10/7/2008'}; 
plot(data) 
set(gca(),'xtick',1:5) % set tick pos. manually 
set(gca(),'xticklabel',datalabels) 
}
http://www.nabble.com/file/p19542129/figure.png figure.png 

-- 
View this message in context: 
http://www.nabble.com/Octave-plot-on-time-date-x-axis-tp19496643p19542129.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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