Measurements of the second-harmonic electron cyclotron radiation emitted perpendicularly to the magnetic field in the T-10 tokamak are presented. The radial profiles of electron temperature were obtained by changing the value of the toroidal field. The comparison with electron temperature obtained by Thomson scattering shows that, in agreement with hot-plasma theory, the plasma radiates like a black body at the local value of the electron temperature.