function [] = setTicks(yticks,xticks,roundy,roundx)
L = get(gca,'XLim');
set(gca,'XTick',roundsd(linspace(L(1),L(2),xticks),roundx))
L = get(gca,'YLim');
set(gca,'YTick',roundsd(linspace(L(1),L(2),yticks),roundy))

end

