I intend to do a chart with two yaxis, the code is the following:
%datevc divides the date in different columns, first colum is the year, %second the month and thrid the day d=datevec(dates);
%Takes just the year (first column) d=d(:,1);
%takes every year just once [a,idx]=unique(d(:,1),'first');
set(gca,'xtick',dates(idx),'xticklabel',a) ytix = get(gca,'YTick'); set(gca,'YTick',ytix(2:end));
This is working but unfortunately besides the years I have also the numeric date displayed on the x axis, how can I change that?
is there a way to make both y axis black instead of blue and green?
No products are associated with this question.