Axial structure in a theta-pinch plasma