I have a small subplot just with the axes:
par(mar=c(0.1, 0.1, 1.0, 37))
plot(NULL, axes=FALSE, xlim=c(0,0), ylim=ylim.axis_right, type="n", ann=FALSE)
axis(4, at=c(ylim.axis_right[1], ylim.axis_right[1]/2, 0, ylim.axis_right[2]/2, ylim.axis_right[2]), labels=FALSE, lwd=6, col="#000000")
box()
Where ylim.axis_right is a 2-vector of form: (-x,x).
My problem is that I have provided the same ylim for both the dummy plot and axes most outside markers and I expected the actual axis to be stretched to the limits of the box. Why is it not happening and how should I correct it?

