> Timestamp= > 201203291200000 > 201203291215000 ... > 201203291415000 > and > Data = > 5 ... > 80 > > length of both A and B is same say 700. Basically first value of > Timestamp corresponds to first value of Data. > Now I want to plot Timestamp on x-axis and Data on y-axis so that I can > find the value of data at particular time. > > I have used > plot (Data, Timestamp); > but the output is awefuly different than ploting Data itself.
As others said, that's bass-ackwards--it's
plot(Timestamp,Data) to put time on x-axis.
To effectively plot time on x-axis,
a) convert the timestamp data to datenums via datenum...