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've notice that the arrowheads on the axis are different than the arrowheads drawn when drawing vectors:



            domain=0:1, range=0:1,
            axis lines=none,
          \addplot [->] plot coordinates {(0,0) (0,1)}; %% make longer later axis
          \addplot [->] plot coordinates {(0,0) (1,0)}; %% make longer later axis

            domain=0:1, range=0:1,
            axis lines =left,


How do I make all the arrows look like the axis arrows? Thanks!

share|improve this question
Instead of [->] you should use [-stealth]. See the PGF/TikZ manual for different arrowheads – percusse Nov 28 '12 at 3:19
up vote 4 down vote accepted

You can set the arrows globally in the preamble using


Enjoy the beautifully easy customization of tikz :)

share|improve this answer

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.