Effects of magnetic field on laser-generated plasma