Yeah, just define an associated x vector on a 1:1 basis with the y values (your S arrays here) that has the appropriately-spaced distances between them, then use the
plot(x,y)
form instead of just
plot(y)
which former plots y vs x instead of the latter that is just versus the ordinal position in the array.