I would like to use tikz * and o arrows to indicate included/excluded
endpoints in plots of piecewise functions, like for example the following one:

However, it seems that tikz always aligns the "tip" of the arrow with the end
of the line, so that the code
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{arrows}
\begin{document}
\begin{tikzpicture}
\draw[help lines] (-.1,-.1) grid (2.1,2.1);
\draw[thick,-*] (0,1.5) -- (1,.5);
\draw[thick,o-] (1,1.5) -- (2,.5);
\end{tikzpicture}
\end{document}
produces

where I would like the circles to be vertically aligned on the grid line.
Is there a parameter or code I can modify to get the desired behavior?



|and the[/]arrows (well, actually, all arrows are defined this way): TikZ arrow tip is displaced – Qrrbrbirlbel May 20 '13 at 19:39