after using the plotyy function with the order-
[AX,H1,H2]= plotyy(VEC,diviation,VEC,diviation_T,'plot');
I want to change a few things- 1. the tick's location in the X-axe, and the xticklabel.. the problem is that when I use the order-
set(gca,'XTickLabel',{'0-5','6-11','12-17','18-23','24-30','31-36','37-42','43-48','49-54','55-60','61-69'},'XTick',VEC,'FontWeight','bold','FontSize',20);
the graph just adds the new ticks without erasing the old ones.
2. also I can't change the linestyle- I want it to be '-s' or '-o' but I can only put '-' or ':' without getting an error notification.
3. when using the order above – set(gca,'XTickLabel',…. it changes only the x-axe and one of the y-axes, I want it to change both of the Y-axes.
Best Answer