TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. 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 would like to specify a custom tick with a custom label at a sp

symbolic y coords={<{Critical point} at 2.138  ???>},
\addplot+[samples=100,domain=-2:2] {x^2};
share|improve this question
up vote 5 down vote accepted

You have to use extra y ticks to specify the ticks you want to customize and extra y tick style to specify their style, for example:



    extra y ticks={2.18},
    extra y tick style={
        yticklabel style={yshift=0.7ex, anchor=east}}]
\addplot+[samples=100,domain=-2:2] {x^2};

enter image description here

share|improve this answer
Thank you, dude, that was exactly, what I was looking for! – Caniko Sep 18 '13 at 9:28

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.