In this paper, we studied the characteristics of radiation emitted by electrons accelerated in a laser–plasma interaction by using the Lienard–Wiechert field. In the interaction of a laser pulse with a underdense plasma, electrons are accelerated by two mechanisms: direct laser acceleration (DLA) and laser wakefield acceleration (LWFA). At the beginning of the process, the DLA electrons emit most of the radiation, and the DLA electrons emit a much higher peak photon energy than the LWFA electrons. As the laser–plasma interaction progresses, the LWFA electrons become the major radiation emitter; however, even at this stage, the contribution from DLA electrons is significant, especially to the peak photon energy.