I would like to make a scatter plot where each element corresponds to a certain energy. Each plot marker should have its corresponding element next to it. IE. The data point at -1.16187 should have "Sc" next to it. How can this be done?
data = {-1.16187, -1.48643, -3.31205, -0.541609, -4.18021, -4.79914,
-4.3378, -3.10561, -0.968065, -1.1105, -8.40646, 0, -1.61386,
-1.12215, -1.55604, -1.40126, -1.23439, -1.01761, -1.31265, -1.63032,
-1.4456, -0.944587, -1.45256, -1.49496, -1.38007, -1.12108, -1.04517};
elements = {"Sc", "Ti", "V", "Cr", "Mn", "Fe", "Co", "Ni", "Cu", "Zn", "Y",
"Zr", "Nb", "Mo", "Tc", "Ru", "Rh", "Pd", "Ag", "Hf", "Ta", "W",
"Re", "Os", "Ir", "Pt", "Au"};
p1 = ListPlot[{#} &@data, FillingStyle -> Thick,
PlotMarkers -> {Automatic, Medium}]
ListPlot[{#} &@data, PlotMarkers -> {Automatic, Medium}, Epilog -> (Text[First@#, Rest@## + {0, .25}] & /@ (Transpose[{#, Range@Length@#, data}] &@elements))]
$\endgroup$