Interactive simulation of an X-ray tube spectrum
The vertical axis is the photon flux per unit wavelength, N(λ), in arbitrary units per Ångström: the number of photons, not the energy they carry. The X-Ray Filters page uses the same quantity, so the two pages show the same continuum shape.
The energy flux would be N(λ)·hc/λ. The continuum is then proportional to (λ/λmin − 1)/λ³ and peaks at 1.5 λmin; as a photon flux it falls as 1/λ² and peaks at 2 λmin.
Kramers' law gives the energy per unit frequency, ∝ Z(νmax − ν). Dividing by hν gives photons per unit frequency, and dν = c dλ/λ² converts to wavelength.
Photons are absorbed in the anode on their way out (depth from the Kanaya–Okayama range, take-off angle 20°) and in a 0.25 mm beryllium window. This removes the long-wavelength part of the continuum and puts a step at the anode's own K edge. Without it, the photon number would diverge logarithmically at long wavelength.