I would like to indicate intervals on a ray of numbers. Here is an example including a half-open interval (I would like to draw another one from c to 1-b). I am sure my method to achieve this can be improved... (especially since it is not really exact -- I draw a filled rectangle but the interval is open to the right). What's a better way to achieve this?
\documentclass{scrartcl}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[mydrawstyle/.style={draw=black, very thick}, x=1mm, y=1mm, z=1mm]
\draw[mydrawstyle, ->](-2,30)--(66,30) node at (-6,30)[left]{$x=1$};
\draw[mydrawstyle](0,28)--(0,32) node[below=10]{$0$};
\draw[mydrawstyle](10,28)--(10,32) node[above=4]{$c$};
\draw[mydrawstyle](25,28)--(25,32) node[below=10]{$1-b$};
\draw[mydrawstyle](50,28)--(50,32) node[below=10]{$1-a$};
\draw[mydrawstyle](60,28)--(60,32) node[below=10]{$1$};
\fill[fill=blue, opacity=0.2](0,29)--(0,31)--(10,31)--(10,29)--(0,29);
\draw[mydrawstyle, draw=blue](1,29)--(0,29)--(0,31)--(1,31);
\draw[mydrawstyle, draw=blue](10,30) arc (0:45:1.8);
\draw[mydrawstyle, draw=blue](10,30) arc (0:-45:1.8);
\end{tikzpicture}
\end{document}
Output:

