When the absolute magnitude for a group of stars is plotted against the spectral classification of the star , in a Hertzsprung-Russell diagram , evolutionary patterns are found that relate to the mass , age and composition of the star .
In a Hertzsprung-Russell diagram the absolute magnitude for a group of stars is plotted against the spectral classification of the stars .