how to use breakaxis for dates ?

10 ビュー (過去 30 日間)
pruth
pruth 2018 年 5 月 22 日
回答済み: Walter Roberson 2018 年 5 月 22 日
hi, I found this very useful function breakAxis. In my mat file data is not time series. I have measured data on a date of 5 May 2017 after that directly I have data on 11th of May. when I plot this data against date(x-axis ) it gives me very large empty space in plot between 5th and 11th. here I want to break this x-axis so can have a good visualization of my data. I know breakAxis function should work, but I don't know how to apply it for dates? any idea?

採用された回答

Walter Roberson
Walter Roberson 2018 年 5 月 22 日
The contribution was designed for hg1.
You will need to switch to serial date numbers for your axis. datetick is probably not compatible so you will probably need to set xticklabels to whatever date string you want.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeDates and Time についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by