Clear Filters
Clear Filters

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

1 view (last 30 days)
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.

Answers (0)


Find more on Two y-axis in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!