Message Boards Message Boards

0
|
7917 Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:
GROUPS:

Labeling Individual Dots on a ListPlot

Posted 10 years ago

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

http://community.wolfram.com/groups/-/m/t/375693

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
Attachments
Remove
or Discard

Group Abstract Group Abstract