Magnetic field dependence of microwave radiation in intermediate-length Josephson junctions