Why is only one tick mark displayed when using datetick?
古いコメントを表示
I have a simple timeseries plot for which I am using datetick to label the x-axis in the format DD/mm as my times are in datenum format. However, after applying datetick, only the first tick mark shows up. I cannot get the later dates to appear. Any ideas? Code below, data attached.
data = load('data.mat');
times = data.times;
rh = data.rh;
plot(times,rh)
datetick('x','DD/mm','keeplimits')
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Grid Lines, Tick Values, and Labels についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


