how do i plot hh:mm:ss format in x axis where my x axis is containing no. of sample points...???

my signal started from 09:11:44 upto 09:15:10 i want my x axix to show me in this format as time in x axis increases simultaneously directly reflect change in second in above given format....i am attaching my signal which is having x axis in second.
simply i wants where time in second is 0 i want to show this point 09:11:44 and where time in second is 206.7 i want to show this point 09:15:10

3 件のコメント

D S Parihar
D S Parihar 2015 年 12 月 1 日
i used datetick also and its format no. 13 but according to change in second in x axis it does not change in hh:mm:ss value....it is constant at 00:00:00
Ingrid
Ingrid 2015 年 12 月 1 日
for datetick to work you should have plotted the correct x-values, if instead you only have the number of samples you should use xlabel instead
Ingrid
Ingrid 2015 年 12 月 1 日
BTW: a fig.file cannot be opened in a browser, better to attach some of your code as a minimum working example (with dummy data) or a .png file if you want to show the result

サインインしてコメントする。

回答 (1 件)

Ingrid
Ingrid 2015 年 11 月 30 日

0 投票

have you looked into xtick and xlabel commands?

カテゴリ

ヘルプ センター および File ExchangeCreating and Concatenating Matrices についてさらに検索

質問済み:

2015 年 11 月 30 日

コメント済み:

2015 年 12 月 1 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by