Mathematica Stack Exchange is a question and answer site for users of Mathematica. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an Excel spreadsheet with numbers on two columns and names in a 3rd. I would like to plot a 2d graph of the first 2 columns and see the respective name from the 3rd column as a tooltip.

I understand how to create the 2d graph and how to create tooltips but not how to tell Mathematica that the 3rd column is essentially labelling the first two and for it to show me those names when I hover over each point. Is it possible?

share|improve this question
You could also consider including some sample data which will make answering more comfortable. – Yves Klett Feb 22 '14 at 20:25

Starting with some test data one way is to map the 3 entries onto a list of Tooltips:

data = {{1, 7, "Heigh-ho,"}, {2, 9, "Heigh-ho"}, {3, 10, "It's"}, {4, 
    8, "home"}, {5, 7, "from"}, {6, 4, "work"}, {7, 1, "we"}, {8, 2, 

tipdata = Tooltip[{#[[1]], #[[2]]}, #[[3]]] & /@ data;

ListPlot[tipdata, PlotMarkers -> {Automatic, Medium}]

Mathematica graphics

share|improve this answer
Thank you very much! – Dieter Feb 22 '14 at 20:08
@Dieter you´re welcome! – Yves Klett Feb 22 '14 at 20:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.