In matlab the normal way to create plots with two y-axis is to use the command plotyy.
This works quite simple, and creates equal tick locations for both data sets:
xaxis = 0:0.1:25;
y1 = linspace(12.1712,12.7679, length(xaxis));
y2 = linspace(0.3597,-28.7745, length(xaxis));
[AX,H1,H2] = plotyy(xaxis, y1, xaxis, y2);
plotstyle; % sets only colors, linestyle...