I have a couple of question in regards to LaTeX ability to overlay text on a graph at a specific point. The background: I have a time-series plot that I load in to LaTeX using a txt file and the pgfplots package.

  1. Is it possible to display the y-coordinate for a selected few x-coordinates in a graph and not for any other x-coordinates?
  2. Is it possible to display and overlay text , above the plot-line, at a given x-coordinate?
  3. If the second question is not possible, then how could I overlay text on top of a graph at a given part of the graph, not necessarily at a specific x-coordinate observation.

closed as unclear what you're asking by Paul Gessler, egreg, Joseph Wright Feb 7 '15 at 21:55

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.