How to change the X axis scale in a wavlet?

3 ビュー (過去 30 日間)
devi r nair
devi r nair 2021 年 1 月 7 日
回答済み: weikang zhao 2021 年 1 月 7 日
i have plotted 15000 days data of solar indices but the X axis of the wavelet shows scale 1-15000 and not the date or year. how can i change the X axis scale?

回答 (1 件)

weikang zhao
weikang zhao 2021 年 1 月 7 日
You can freely control the position and content of the axis display by setting 'XTick' & 'XTickLabel' of the Axes object.
for eample:
plot(1:10,1:10);
set(gca,'XTick', [1,5,9]);
set(gca,'XTickLabel',{'2021/1/7','2021/1/8','2021/1/9'})
have fun

カテゴリ

Help Center および File ExchangeMapping Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by