Tag Info

New answers tagged

1

Map and MapIndexed solutions are formally valid but Thread is often cleaner. (Poor guy is also underused, I believe.) data = RandomInteger[10, {10, 2}]; ListPlot@Thread@Tooltip[#, Range@Length@#]&@data


6

data = Sort@RandomInteger[10, {10, 2}]; tts = {Directive[Red, 16, Bold], CellFrame -> 3, CellFrameMargins -> 5}; ListPlot[MapIndexed[Tooltip[#, First@#2, TooltipStyle -> tts] &, data], PlotStyle -> PointSize[Large], Frame -> True, AxesOrigin -> {0, 0}]



Top 50 recent answers are included