Info
This question is closed. Reopen it to edit or answer.
By using the mentioned code i am getting this plot. Now i want x label tics at each month. How can i get it?
1 view (last 30 days)
Show older comments
t=datenum(2013,11,24):datenum(2015,06,19);
ax=plotyyy(t',sst,t',pco2,t',sss);
datetick('x','mmm-yy','keepticks')
set(ax(1),'XTick',[])

1 Comment
Walter Roberson
on 25 Oct 2017
Which MATLAB version are you using? R2016b added nicer ways to do date plots.
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!