Scaling behavior in a quantum wire with scatterers