Message Boards Message Boards


Labeling Individual Dots on a ListPlot

Posted 9 years ago
3 Replies
2 Total Likes

The question is simple, can I label individual data points on a ListPlot, or will I have to resort to Graphics?

Or is there a more apt way to plot a list of points than ListPlot?

Thank You,

POSTED BY: Seokin Yeh
3 Replies

David, you solve all my problems. Thank you,

But for my purpose, I think Nick's method is the best.

Thank you so very much.

POSTED BY: Seokin Yeh

Also see this recent thread for an alternative approach if you want labels adjacent to dots for the points

POSTED BY: David Reiss

You can use PlotMarkers to create individual labels for each point, by breaking the data up into a list of lists:

ListPlot[Table[{{i, i}}, {i, 1, 10}],  PlotMarkers -> CharacterRange["a", "z"]]

This gives you a plot along the lines of this:

enter image description here

POSTED BY: Nick Lariviere
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
or Discard

Group Abstract Group Abstract