Romoving Matlab date format from the X ticks of a plotyy figure.

1 回表示 (過去 30 日間)
RP
RP 2020 年 1 月 22 日
編集済み: RP 2020 年 1 月 22 日
Dear Matlab users,
I became able to arrange the mm-yyyy format on the x-tick of the plotyy, but simultaneously the matlab date format (i.e. 728295, 728326, 728354 and so on) is coming on the x-tick which I want to remove.
When I tried with set(gca,'xtick',[])
set(gca,'xticklabel',[]), the entire mm-yyyy x ticks are removing rather than the matlab dates, but here only I want to remove only the matlab date format from the x ticks, not the mm-yyyy format.
For your convenience, I attached my sample data and code. Please find attachments.
A valuable help on the removal of only matlab date format from the x-ticks of the plotyy will be highly appreciated.
Thank you very much for your time.

回答 (0 件)

カテゴリ

Help Center および File ExchangeTwo y-axis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by